PHP 7.4 is a new game-changer, PHP 7.4 has added for and clean PHP syntax for easy to read.
Some of the highlights of this release that we’ve covered before include:
- Short Arrow Functions
- Spread Operator for Arrays
- Typed Properties
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
For source downloads of PHP 7.4.0 please visit the PHP downloads page and the list of changes are in the ChangeLog.
There is also a migration guide available in the PHP Manual that includes a detailed list of new features and backward incompatible changes.
Continue Reading
Be first to comment