PHP 7 was released on 3 December 2015. One of the most exciting event and release of PHP 7 version after the major release of PHP 5. This release is considered to be the most features and important change in PHP programming language.
PHP 7 introduces many new features and lots of performance upgrades.
PHP 7 also removes some old functionalities and features which were not compatible with old applications while migrating to new version.
What’s new in PHP 7?
- Scalar type declarations
- Return type declarations
- Null coalescing operator
- Spaceship operator
- Constant arrays using define()
- Anonymous classes
- Generator delegation
- Generator return expressions
- CSPRNG functions
In PHP 7, the server can return pages to the users almost twice as fast.