Actions

Difference between revisions of "Developer Area/PHP8/Upgrade to PHP8"

From Mahara Wiki

< Developer Area‎ | PHP8
 
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 January 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