This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
php-upgrade-cheatsheet [2018/01/04 06:18] malvin |
php-upgrade-cheatsheet [2018/01/04 11:25] serbizadmin [Cheatsheet for Upgrading PHP Sites] |
||
---|---|---|---|
Line 4: | Line 4: | ||
\\ | \\ | ||
Not that many organizations are prepared to deal with the change. So the [[https:// | Not that many organizations are prepared to deal with the change. So the [[https:// | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ :: | ||
+ | |||
===== PHP 5.x to 7 ===== | ===== PHP 5.x to 7 ===== | ||
- | Deprecated | + | ==== Deprecated |
**Sample** | **Sample** | ||
Line 24: | Line 29: | ||
**Fix for php7** | **Fix for php7** | ||
- | If the function and class name is same change function name to < | + | If your class has a constructor having |
Sample | Sample | ||
Line 41: | Line 46: | ||
?></ | ?></ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | |||
===== See Also===== | ===== See Also===== | ||
* [[http:// | * [[http:// |