Actions

Developer Area/PHP8/Upgrade to PHP8: Difference between revisions

From Mahara Wiki

< Developer Area‎ | PHP8
No edit summary
No edit summary
 
Line 6: Line 6:
|-
|-
| <code>->getClass()</code> || [https://www.php.net/manual/en/migration80.deprecated.php Class reflection deprecated] || 101 || https://www.amitmerchant.com/the-get-class-alternative-in-php8/#:~:text=Using%20%3A%3Aclass%20on%20objects,of%20get_class()%20like%20so.
| <code>->getClass()</code> || [https://www.php.net/manual/en/migration80.deprecated.php Class reflection deprecated] || 101 || https://www.amitmerchant.com/the-get-class-alternative-in-php8/#:~:text=Using%20%3A%3Aclass%20on%20objects,of%20get_class()%20like%20so.
|-
| Passing null as an object is no longer allowed
|}
|}


<sup>*</sup>Roughly
<sup>*</sup>Roughly

Latest revision as of 13:00, 18 Ocak 2022

As things are discovered, please add them to this table. We can use this as a starting point.

Issue Description Occurrences* Potential solutions
->getClass() Class reflection deprecated 101 https://www.amitmerchant.com/the-get-class-alternative-in-php8/#:~:text=Using%20%3A%3Aclass%20on%20objects,of%20get_class()%20like%20so.
Passing null as an object is no longer allowed

*Roughly