PHP 7 Now Released! – Things You Need to Know About PHP 7

As a Developer or Blogger? Do you sites run on PHP-based CMS such as WordPress, Joomla, Drupal or Magento? Then It’s a good new’s that PHP 7 Was Recently Released. The New version contains new features which are pretty cool!

Changes in WordPress 4.4?

Updated article on December 9, 2015, after WP4.4 was released. We used dummy content from wptest.io and benchmarked the home page for a minute with 15 concurrent users. WordPress’s was the only test where we could use HHVM’s Repo Authoritative mode without having to make time consuming modifications to the software in question. It adds some extra speed but it may not be something everyone can take advantage of because of the extra deployment steps required to make it work.

Things You Need to Know About PHP 7

WordPress 4.4 HHVM RepoAuthoritative benchmark result: 358.33 trans/sec
WordPress 4.4 HHVM benchmark result: 335.13 trans/sec
WordPress 4.4 PHP 7.0 benchmark result: 287.92 trans/sec
WordPress 4.4 PHP 7.0 without opcache benchmark result: 84.87 trans/sec

Changes in WordPress 4.3.1

We used dummy content from wptest.io and benchmarked the home page for a minute with 15 concurrent users.

WordPress 4.3.1 HHVM RepoAuthoritative benchmark result: 375.48 trans/sec WordPress 4.3.1 HHVM benchmark result: 357.69 trans/sec WordPress 4.3.1 PHP 7.0 benchmark result: 306.24 trans/sec WordPress 4.3.1 PHP 5.6.16 benchmark result: 106.45 trans/sec

WordPress 4.3.1 HHVM RepoAuthoritative benchmark result: 375.48 trans/sec
WordPress 4.3.1 HHVM benchmark result: 357.69 trans/sec
WordPress 4.3.1 PHP 7.0 benchmark result: 306.24 trans/sec
WordPress 4.3.1 PHP 5.6.16 benchmark result: 106.45 trans/sec


 

Also Read: https://kinsta.com/blog/the-definitive-php-7-final-version-hhvm-benchmark

 


 

WordPress and PHP7

For the last few months, WordPress Core has been getting ready for the upcoming release of PHP7. PHP7 is bringing a host of improvements to PHP. One of the most notably is substantial performance improvements.Benchmarks of WordPress using PHP7 are showing a 2-3x speed improvement compared to PHP5.6.

 

Improvements in PHP7?

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

Back to top button
Close