PHP
JIT
WeakMap
DateTime
NAN
TypeErrors
RSS
Newsletter
GitHub
Twitter —
No matching tags
No matching tags
No matching tags
No matching tags
No matching tags
If you've kept up to date with the latest releases though, the upgrade shouldn't be too hard, since most breaking changes were deprecated before in the 7.* versions.Besides breaking changes, PHP 8 also brings some nice new features such as the JIT compiler and union types; and there's more to come! Starting with new features, remember that PHP 8 is still in active development, so this list will grow over time.Given the dynamically typed nature of PHP, there are lots of cases where union types can be useful. The best thing to do is take a look at the full list of breaking changes over at the UPGRADING document.Many of these breaking changes have been deprecated in previous 7.* versions though, so if you've been staying up-to-date over the years, it shouldn't be all that hard to upgrade to PHP 8.User-defined functions in PHP will already throw TypeErrors, but internal functions did not, they rather emitted warnings and returned null.
As said here by