作為性能是PHP5.6兩倍的PHP7又發(fā)了新版本,快來瞅瞅。

  2016.12.1 PHP7.1正式發(fā)布。

  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文檔之后我發(fā)覺要舉例說明的東西實在太多了,所以這里就丟個鏈接,等小伙伴自己有時間時候自己去研究一下吧。

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

  機會總是給有準(zhǔn)備的人。

  微信掃描二維碼,關(guān)注PHP技術(shù)大全!

  讓知識地帶無限蔓延!