作為性能是PHP5.6兩倍的PHP7又發(fā)了新版本,快來(lái)瞅瞅。
2016.12.1 PHP7.1正式發(fā)布。
PHP 7.1.0 帶來(lái)了大量的改進(jìn)和新功能。
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
猿哥本來(lái)想把每一個(gè)更新的功能都說(shuō)一遍的,但是看了PHP官方的wiki RFC文檔之后我發(fā)覺要舉例說(shuō)明的東西實(shí)在太多了,所以這里就丟個(gè)鏈接,等小伙伴自己有時(shí)間時(shí)候自己去研究一下吧。
研究鏈接入口:https://php.net/archive/2016.php#id2016-12-01-3
機(jī)會(huì)總是給有準(zhǔn)備的人。
微信掃描二維碼,關(guān)注PHP技術(shù)大全!
讓知識(shí)地帶無(wú)限蔓延!
評(píng)論列表