Today, the PHP development team announced the immediate availability of PHP 7.4.0 and it comes with numerous improvements and new features.
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.