PHP 5.6 Has An Exponential Operator, New Features

Written by Michael Larabel in Free Software on 18 February 2014 at 05:35 PM EST. 7 Comments
FREE SOFTWARE
The second alpha release of the forthcoming PHP 5.6 is now available. PHP 5.6 is shaping up to be a very nice evolutionary upgrade to this popular web programming language that also works well for CLI scripting.

PHP 5.6 Alpha 2 brings an expoential right associative operator (**), a new mysqli_get_links_stats() function, and upgrade to PCRE. These changes build upon the PHP 5.6 Alpha 1 changes from late January that have more MIME types being supported by the CLI web-server, improvements to empty string handling, support for internal operator overloading, reduced _POST data memory usage by 200~300%, a dedicated syntax for variadic functions, implemented constant scalar expressions, OPcache optimizations, OpenSSL improvements, new session functions, and many bug-fixes. Those interested in learning more about all of the changes for the upcoming PHP 5.6 release can read this NEWS blob in Git. Other PHP 5.6 features have also been already talked about on Phoronix.

Details as it affects programmers in moving to PHP 5.6 is covered via the PHP migration manual.

PHP 5.6 Alpha 2 was released last week and more details on its release can be found via php.net. It will be interesting to see how PHP 5.6 compares to Facebook's greatly-advancing HipHop Virtual Machine with HHVM being an alternative PHP implementation.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week