PHP 5.6.0 Released With 10 New Features

php-5.6.0

The new release of the PHP scripting language guarantees additional performance and brings few new features.

Almost fifteen months when the release of PHP 5.5, there’s once more a significant release of the favored scripting language for the web. Version 5.6 offers additional performance and introduces some changes to the syntax, thus may currently variadic function are inserted, which might pass any number of arguments. See also the splat operator was enclosed. As an example, variadic functions are useful , in linking multiple strings or the summing of number and generally in operations which will be applied in principle to any number of operands.

The use operant was also extended to facilitate the import of functions and constants, like the classes. Revamped the interactive PHP debugger also known as phpdbg. it’s an interactive debugger, integrated SAPI module. For additional security within the applications, the operate hash_equals () are introduced to enhance the utilization of SSL / TLS and also was the hash algorithm gost-crypto added. Additionally, the version file uploads accepted by over 2GB. Many points there are complaining even with backward compatibility. Thus array keys are no longer overwritten once you define an array with an array literal as a property of a class.

Features:

  1. Constant scalar expressions
  2. Variadic functions via …
  3. Argument unpacking via …
  4. Exponentiation via **
  5. phpdbg
  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