Some of the highlights of this release that we’ve covered before include:
Here is a list of all the main new features:
- Typed Properties
- Arrow Functions
- Limited Return Type Covariance and Argument Type Contravariance
- Unpacking Inside Arrays
- Numeric Literal Separator
- Weak References
- Allow Exceptions from __toString()
- Opcache Preloading
- Several Deprecations
- Extensions Removed from the Core
There is also a migration guide available in the PHP Manual that includes a detailed list of new features and backward incompatible changes.
Filed in: News / php7.4
Join 31,000+ others and never miss out on new tips, tutorials, and more.