4 ms·
> Php 8 had a lot of breaking changes and upgrading it is already an arduous task. How so? I've upgraded most of my project to PHP 8 quite easily. Which versio
by dreadnip 4y ago
> Php 8 had a lot of breaking changes and upgrading it is already an arduous task.
How so? I've upgraded most of my project to PHP 8 quite easily. Which versions were you running before, and what breaking changes did you see?
- tored 4y agoNot OP, but the only one that I know of and that can trip you up without giving any form of warning is the change of resources types to class types for some of the libraries, like curl. Thus if your old code did a check like is_resource it will now return false instead of true.