What a year 2015 has proven to be for PHP. Drupal 8, Magento 2, Symfony 3 and the icing on top of the cake – PHP 7!
It’s hard not to be excited about PHP 7. It’s so much more than just another major PHP release, and the long buildup and the buzz surrounding this release are far from being unjustified. PHP 7 promises to be a real game changer for the PHP world and the web as a whole.
Want to know what the fuss is all about and how to safely join the revolution? Read on!
Performance, performance, performance
We live in a world of instant gratification and constant changes. We expect and rely on our apps to run with the speed of light, and web technologies are taking brave and innovative steps to comply with this insatiable need.
Packing a new engine, drastically improved performance and better memory consumption – PHP 7 is PHP’s answer to this ever-growing demand for speed.
Don’t take my word for it. Just in case you missed the party, take a look at some graphs first shared during Andi’s keynote at ZendCon in October:
The ability to run real world apps up to two times faster than 5.6 (and even more) is the main reason behind the buzz and why PHP 7 is considered by many as the most important development in PHP since 2004.
Naturally, in addition to the undisputed coolness factor, increased performance translates directly into very tangible benefits. Most notably, better end-user experience thanks to faster response times, and reduced infrastructure costs thanks to being able to serve more concurrent users with the same (or even less) hardware.
Of course, PHP 7 also includes some language changes and additional new features, such as new operators – the spaceship operator and the null coalesce operator, scalar type hints, return type hints, to name a few.
You can read more about these new features here.
Sign me up!
For details on how to get started or migrate towards PHP 7, check out these great resources:
• the main PHP 7 page with everything you need
• this full blog has step-by-step instructions on how to get started
• if you need help migrating from an older version to PHP 7, our PHP Migration Team can help