Products and Solutions
Services and Support
Try and BuyDownload Now
Are you looking for the latest status, news, articles, features or updates about the newest version after PHP 5.X? After a long voting process by the community, the name for the next major PHP version has been finalized! The winning proposal is to call the latest major version PHP 7.
So here's the top 5 things you must know about PHP 7!
THE LATEST PHP VERSION IS RELEASED
The PHP 7 Timeline RFC was approved in a near unanimous vote and PHP 7 was released on December 3, 2015.
See the PHP 7 timeline
PHP SPACE SHIPS
PHP 7 introduces a new operator <=> conveniently similar to a TIE fighter and dubbed the Spaceship Operator. It can be used for combined comparisons – mostly when dealing with sorting.
See more info
DECLARATIONS & SCALAR TYPE HINTS
PHP 7 allows developers to declare what kind of return type a function is expected to have - similar to argument Type Hints.
In addition, argument type hints and the new return-type declarations now support new scalar types, allowing developers to denote that they're expecting strings, floats, ints or bools to be passed or returned.
PHP 7 PERFORMANCE
PHP 7 is based on the PHPNG project (PHP Next-Gen), that was led by Zend to speed up PHP applications. The performance gains realized from PHP 7 are huge! They vary between 25% and 70% on real-world apps, and all of that just from upgrading PHP, without having to change a single line of code!
PHP 7 IS 2X FASTER
Since PHPNG was open sourced and later merged into PHP 7, its performance more than doubled in many cases, and we're continuing to improve it all the time.
To put things in perspective – when PHPNG was published, the WordPress homepage required approx. 9.4 billion CPU instructions to execute. As of now – it requires only 2.6 billion – that's 72% less!
Get up to speed quickly with PHP 7 and understand how it affects you. This 5 hour class will go over everything you need to know about PHP 7 and provide you with the knowledge you need to ensure that your applications are ready to take advantage of the innovations and performance enhancement introduced in PHP7.