Recently, the PHP development team announced the release of PHP 7.0, the latest version of the popular web development language.
PHP 7.0 has taken quite some time in the making, and its release was being anticipated for months now. Based on a new version of Zend Engine, PHP 7.0 claims to be twice as fast as PHP 5.6
Among other features, PHP 7.0 includes:
- Lesser memory usage
- Better exception hierarchy
- Better 64-bit support
- Abstract Syntax Tree
- More secure random number generator
- Zero cost asserts
- Anonymous classes
- Return and Scalar Type declarations
PHP 7.0 has also removed support for old SAPIs and extensions. Naturally, since PHP 7.0 is a big step forward from the previous versions of PHP, migration will require some planning, and be sure to read the migration guide here.
PHP 7.0 has taken a long time in the making, and with PHP 5.3 reaching end of life, version 7.0 is definitely the way forward. However, for all practical purposes, migrating from version 5.5 or 5.6 will require some planning, especially with most of today’s applications (including many plugins of WordPress) not fully ready for PHP 7.0
That said, if you wish to give PHP 7.0 a spin, you can get the source code from the Downloads page on the official website. Once again, if you are planning to migrate your projects to PHP 7.0, be sure to backup your data and read the migration guide thoroughly.
What do you think of PHP 7.0? Share your views in the comments below!