Versie 5.6.0 van PHP is uitgebracht. PHP is een een recursief acroniem en staat voor PHP: Hypertext Preprocessor. Het wordt voornamelijk gebruikt om op webservers dynamische webpagina's te creëren, vaak in combinatie met databaseprogramma's. De complete lijst met veranderingen is op deze pagina in te zien, dit zijn in het kort de belangrijkste:
The main features of PHP 5.6.0 include:PHP 5.6.0 also introduces changes that affect compatibility:
- Constant scalar expressions.
- Variadic functions and argument unpacking using the
...
operator.- Exponentiation using the
**
operator.- Function and constant importing with the use keyword.
- phpdbg as an interactive integrated debugger SAPI.
- php://input is now reusable, and
$HTTP_RAW_POST_DATA
is deprecated.- GMP objects now support operator overloading.
- File uploads larger than 2 gigabytes in size are now accepted.
- Array keys won't be overwritten when defining an array as a property of a class via an array literal.
- json_decode() is more strict in JSON syntax parsing.
- Stream wrappers now verify peer certificates and host names by default when using SSL/TLS.
- GMP resources are now objects.
- Mcrypt functions now require valid keys and IVs.