Today, we’re pleased to announce that PHP 7.0 – the fastest and most efficient PHP ever – is officially released!
PHP 7.0 brings you unprecedented levels of real-world performance and throughput by utilizing the new and advanced Zend Engine 3.0, designed and refactored for speed and reduced memory consumption. This translates to real-world benefits: greatly decreased response times, superior user experiences, and the ability to serve more users with fewer servers to maximize the power of your PHP 7.0 deployment.
The explosive performance improvements of PHP 7.0 range between 50% and 200% on real-world apps – without changing a single line of code:
PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as
Improved performance: PHP 7 is up to twice as fast as PHP 5.6
Significantly reduced memory usage
Abstract Syntax Tree
Consistent 64-bit support
Improved Exception hierarchy
Many fatal errors converted to Exceptions
Secure random number generator
Removed old and unsupported SAPIs and extensions
The null coalescing operator (??)
Return and Scalar Type Declarations
Anonymous Classes
Zero cost asserts
Link
cd /opt
wget -c http://php.net/get/php-7.0.0.tar.gz/from/a/mirror
tar xfz php*.tar.gz
cd php*
configure 加一堆参数就可以了