The new release of the PHP scripting language promises more performance and brings a few new features.
Almost fifteen months after the release of PHP 5.5, there is again a major release of the popular scripting language for the web. Version 5.6 offers more performance and introduces some changes to the syntax, so could now variadic function are inserted, which can pass any number of arguments. See also the splat operator was included. Useful are variadic functions, for example, in linking multiple strings or the summing of numbers and generally in operations that can be applied in principle to any number of operands.
The use operant was also extended to facilitate the import of functions and constants, as with the classes. Revamped the interactive PHP debugger was also phpdbg. It has an interactive debugger, integrated SAPI module. For more security in the applications, the function hash_equals () have been introduced to improve the use of SSL / TLS and also was the hash algorithm gost-crypto added. In addition, the version file uploads accepted by more than 2 GB. A few points there are complaining even with backward compatibility. So array keys are no longer overwritten when you define an array with an array literal as a property of a class.
In particular, any changes in PHP 5.6 are in the changelog.
1. Constant scalar expressions
2. Variadic functions via …
3. Argument unpacking via …
4. Exponentiation via **
6. Default character encoding
7. php://input is reusable
8. Large file uploads
9. GMP supports operator overloading
10. hash_equals() for timing attack safe string comparison
11. gost-crypto hash algorithm
12. SSL/TLS improvements
13. pgsql async support
Install PHP 5.6.0 on Ubuntu 14.04 & Ubuntu 14.10:
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5