PHP 7.1 Show Summary
PHP has been seeing more regular releases recently - what changed?
PHP adheres to semantic versioning more closely now. In the past this was not the case
A lot of time was spent on PHP 6 which never happened
PHP has settled into a more mature yearly release cadence and support policy
Davey talks about his role as release manager for 7.1
Answered a call on PHP Internals list
Davey and Joe Watkins were approved as co-release managers
Received a lot of help from others e.g: Stephen from Microsoft (Windows binaries) and Remi from Redhat (testing on RHEL, Fedora, CentOS)
Primarily about housekeeping:
Publishing and signing tar balls
Ensuring there are no unintended BC-breaks
Ensuring nothing is added that isn't approved
New features in PHP 7.1
Nullable Types
Iterable Pseudo-Type
Class Constant Visibility
Void Return Types
Multi-Catch Exception Handling
Mcrypt has been deprecated and will be removed in PHP 7.2
Fix inconsistent behavior of $this variable
Features that didn't make 7.1 or may appear in future releases
Union Types (did not pass)
Intersection Types (may appear in a future release)
Merge Symbol Tables (proposed for PHP 8 but requires huge BC-breaks)
Shameless Plugs
Akamai for WordPress
PHP 7.2 - Call for release managers
Arrow Functions RFC
Therac
PHP 7.1顯示摘要
PHP最近已經(jīng)看到更多的常規(guī)版本-什么改變了?
PHP堅持更接近語義版本。在過去,情況并非如此
大量的時間花在PHP 6從未發(fā)生過
PHP已經(jīng)解決了一個更成熟的年度發(fā)布節(jié)奏和支持政策
Davey談到他的角色發(fā)布經(jīng)理7.1
回答PHP內(nèi)部列表的調(diào)用
Davey和Joe Watkins共同發(fā)布經(jīng)理批準(zhǔn)
收到了很多來自別人的幫助:史蒂芬(如微軟Windows二進(jìn)制文件)和雷米從RedHat(在RHEL,費多拉,CentOS的測試)
主要關(guān)于管家:
發(fā)布和簽署焦油球
確保沒有意外BC打破
確保沒有添加未批準(zhǔn)
PHP 7.1的新特性
可空類型
個偽型
類的常量的能見度
void返回類型
多捕捉異常處理
Mcrypt已經(jīng)被棄用,將在PHP 7.2中刪除
修復(fù)此變量的不一致行為
沒有使7.1或可能出現(xiàn)在未來版本的功能
聯(lián)盟類型(沒有通過)
交集類型(可能出現(xiàn)在未來版本)
合并符號表(PHP 8提出,但需要巨大的BC休息)
無恥的插頭
Akamai的WordPress
PHP 7.2 -呼叫釋放管理器
箭頭功能RFC
醫(yī)用直線加速器