PHP has been the fourth most popular coding language in the world for seven years straight. More than 200 million websites and around 82% of public websites are powered by PHP.

PHP 7 Released

PHP took a huge leap forward with the release of the first major update since 2004. PHP 7 boasts massively improved performance – up to three times better performance than PHP 5.6 when running WordPress.

PHP 7 boasts other changes as well - return type declarations, reduced memory usage, the spaceship operator and many more.

PHP also features some breaking changes such as the removal of magic quotes and the PHP safe mode as well as a number of new reserved keywords.

Web apps such as WordPress needed a few touches in order to be able to support PHP 7 but now it’s fully compatible with the new programming language.

While PHP 7 has been released very recently, it may take a few years until it’s widely adopted by the majority of websites. Most applications tend to take a few years to adapt to upgrades but we hope that the increased performance will make these upgrades come sooner.

PHP 7 comes with a new and improved version of the Zend Engine, featuring numerous perks such as:

General performance: The new PHP 7 is up to three times as fast as the older version

Zero cost asserts

Anonymous Classes

Return and Scalar Type Declaration

The null coalescing operator

Removal of old and unsupported SAPIs and extensions

Secure random number generator

Many fatal errors converted to Exceptions

Improved Exception hierarchy

Consistent 64 bit support

Abstract Syntax Tree

Memory usage is significantly reduced

Recommended Stories

How to Speed up Your Magento 2 Store on Mobile Devices: 5 Tweaks That You Can Make
What can you do to speed up your Magento 2 store on mobile devices? For let's face it: Magento 2's “ecosystem” of… (Read more)
Silviu Serdaru / May 23 '2018
How to Integrate Alexa with Your Drupal 8 Website: A Step-by-Step Guide
Just imagine: a user asks Amazon Alexa to read out loud to him/her the headline of your latest blog post! Or maybe… (Read more)
RADU SIMILEANU / May 18 '2018
When Should You Not Consider Using Node.js? 3 Unsuitable Use Cases
It's undebatable: Node.js has practically laid the foundation of the real-time web! The real-time, two-way… (Read more)
RADU SIMILEANU / May 17 '2018