Home / PHP / PHP 7 – What’s New & The Nitty Gritty Technical Details

PHP 7 – What’s New & The Nitty Gritty Technical Details

As you may have read on our June 29th blog post, the alpha version of PHP 7 was released. Since that post was published, PHP released the first beta version of PHP. We know that PHP 7 has a clear cut focus on performance. Let’s look at some of the contributing elements to those performance improvements and the other enhancements included with PHP 7.

*The Spaceship Operator/Combined Comparison Operator (<=>) – Similar to a TIE fighter, the Spaceship Operator can be used for combined comparisons, largely when working with sorting.

*PHPNG – PHP 7 is based on the PHPNG project (PHP Next-Gen). This is one of the largest reasons for the faster performance seen with PHP 7. The early word is that PHP 7 is twice as fast as PHP 5.6.

*Functions – Much like Type Hints, developers can declare what sort of return type a function is expected in PHP 7.

*Consistent support of 64-bit.

*Return and Scalar Type Declarations

*Many of the fatal errors are now just exceptions

Remember that A2 Hosting offers PHP 7 Hosting on our Turbo Servers. This is your opportunity to get your heads on the latest version of PHP. Just keep in mind this is a beta version and we cannot guarantee compatibility with your applications.

About Brad Litwin

Brad Litwin is the Marketing Manager for A2 Hosting. He has been with the company since 2007. His specialties include affiliate marketing, content writing and SEO. In his spare time he enjoys running and reading.

Check Also

The Dramatic Performance Increase Of PHP 7

In previous blog posts, including our comparison of HHVM vs PHPNG, we talk about how PHP 7 typically beats HHVM by up to 20% and it is up to 100% faster than PHP 5.6 (even though we do need to run our own performance comparisons here at A2 Hosting). These numbers are definitely provide a nice broad overview of the dramatic performance boost and memory efficiency enhancements offered by PHP 7.