作为性能是PHP5.6两倍的PHP7又发了新版本,快来瞅瞅。

  2016.12.1 PHP7.1正式发布。

  PHP 7.1.0 带来了大量的改进和新功能。

Nullable types

Void return type

Iterable pseudo-type

Class constant visiblity modifiers

Square bracket syntax for list()and

  the ability to specify keys in list()

Catching multiple exceptions types

Many more features and changes…

  变更日志:https://www.php.net/ChangeLog-7.php#7.1.0

  猿哥本来想把每一个更新的功能都说一遍的,但是看了PHP官方的wiki RFC文档之后我发觉要举例说明的东西实在太多了,所以这里就丢个链接,等小伙伴自己有时间时候自己去研究一下吧。

  研究链接入口:https://php.net/archive/2016.php#id2016-12-01-3

  机会总是给有准备的人。

  微信扫描二维码,关注PHP技术大全!

  让知识地带无限蔓延!