And there comes PHP 5.6.0 with many improvements and lot of changes
- 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.
*Although it is specified in the manual that there are no changes in the coding.
:: One of the major feature/improvement that made is Constant Scalar Expression, now it is possible to provide scalar expression involving numeric and string literals and/or constants in contexts where PHP previously expected a static value, such as constant and property declarations and default function arguments.
PHP 5.6.0 also introduces changes that affect compatibility:
- 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.
References
>> Full Migration Guide available here, detailing the changes between 5.5 and 5.6.
>> Source Download of PHP 5.6.0 is available here.
>> The Complete list of changes available in the Change log.
>> Source Download of PHP 5.6.0 is available here.
>> The Complete list of changes available in the Change log.
No comments:
Post a Comment