After a year of development, the release of the PHP 7.4 programming language is presented. The new branch includes a series of new features, as well as several changes that violate compatibility.
Key improvements in PHP 7.4:
- Typed Properties
- Arrow Functions
- Limited Return Type Covariance and Argument Type Contravariance
- Unpacking Inside Arrays
- Numeric Literal Separator
- Weak References
- Allow Exceptions from
- Opcache Preloading
- Several Deprecations
- Extensions Removed from the Core
ldap_control_paged_result_response__preport (), are declared obsolete.
A warning is provided about using an outdated feature when trying to process invalid characters in the
octdec (), and
hexdec () functions, as well as when specifying a non-string pattern in
Get more information at the official website.