红联Linux门户
Linux帮助

PHP 5.6.0正式发布了

发布时间:2014-08-29 09:54:37来源:红联作者:empast
PHP 5.6.0 正式发布了,此版本包括了许多新特性,还有一些向后兼容的改进和其他的系统改进。

主要特性:

Constant scalar expressions.

Variadic functions and argument unpacking using the...operator.

Exponentiation using the**operator.

Function and constant importing with the use keyword.

phpdbg 作为一个交互式集成的调试器 SAPI

php://input 现在可以复用,废弃了 $HTTP_RAW_POST_DATA

GMP 对象支持操作符重载

允许上传超过 2G 的文件

更多新特性请看the new features chapter of the migration guide。

PHP 5.6.0 兼容性方面改进:

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.

软件详情:http://www.php.net/ChangeLog-5.php#5.6.0

下载地址:http://www.php.net/downloads.php

来自:开源中国社区
文章评论

共有 0 条评论