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.
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5
Powered by BetterDocs
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.