首页 > php学习 > PHP 5.6.0 正式版发布

PHP 5.6.0 正式版发布

2014年9月2日 发表评论 阅读评论

PHP 5.6.0 正式版发布

The PHP Development Team announces the immediate availability of PHP 5.6.0. This new version comes with new features, some backward incompatible changes and many improvements.

The main features of PHP 5.6.0 include:

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.

For a full list of new features, you may read the new features chapter of the migration guide.

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.

For users upgrading from PHP 5.5, a full migration guide is available, detailing the changes between 5.5 and 5.6.0.

For source downloads of PHP 5.6.0, please visit our downloads page. Windows binaries can be found on windows.php.net/download/. The full list of changes is available in the ChangeLog.

php5.6.0是一个重大版本更新哦,喜欢php的可以下载试试看。

更期待php6,但不知道要等到什么时候了。

分类: php学习 标签:
  1. 本文目前尚无任何评论.
您必须在 登录 后才能发布评论.
css.php