PHP 7.4.9 發(fā)布
PHP 7.4.9 版本現(xiàn)已發(fā)布,具體更新內(nèi)容如下:
Apache:
修復(fù)了錯誤#79030(升級 apache2handler 的 php_apache_sapi_get_request_time 以返回 usec)。
COM:
修復(fù)了錯誤#63208(BSTR 到 PHP 字 符串轉(zhuǎn)換不是 binary safe)。
修復(fù)了錯誤#63527(DCOM 無法使用用戶名、密碼參數(shù))。
Core :
修復(fù)了錯誤#79740(不能靜態(tài)調(diào)用 serialize() 和 unserialize() methods)。
修復(fù)了錯誤#79783(php_str_replace_common 中的段錯誤)。
修復(fù)了錯誤#79778(如果轉(zhuǎn)儲帶有未解決的靜態(tài)變量的閉包,則斷言失?。?/p>
修復(fù)了錯誤#79779(通過引用分配字符串偏移量的屬性時斷言失?。?/p>
修復(fù)了錯誤#79792(如果銷毀了空數(shù)組,則不會刪除 HT 迭代器)。
修復(fù)了錯誤#78598(在 undef index RW error segfaults 期間更改數(shù)組)。
修復(fù)了錯誤#79784(如果在數(shù)組寫獲取期間的 undef var 期間更改數(shù)組,則在 free 后使用)。
修復(fù)了錯誤#79793(如果更改了未定義索引警告中使用的字符串,則 free 后使用)。
修復(fù)了錯誤#79862(子級中的公共非靜態(tài)屬性應(yīng)優(yōu)先于私有靜態(tài))。
修復(fù)了錯誤#79877(getimagesize 函數(shù)在一個空字節(jié)后 silently truncates)(cmb)
Fileinfo:
修復(fù)了錯誤#79756(finfo_file 崩潰(FILEINFO_MIME))。
FTP:
修復(fù)了錯誤#55857(大文件上的 ftp_size)。
Mbstring:
修復(fù)了錯誤#79787(mb_strimwidth 不會修剪字符串)。
Phar:
修復(fù)了錯誤#79797(在 phar_parse_zipfile 函數(shù)中使用 freed hash key)。(CVE-2020-7068)
Reflection:
修復(fù)了錯誤#79487(::getStaticProperties() 忽略屬性修改)。
修復(fù)了錯誤#69804(::getStaticPropertyValue() throws on protected props)。
修復(fù)了錯誤#79820(當(dāng)復(fù)制到 ReflectionProperty 的類型被解析時,在 free 之后使用)。
Standard:
修復(fù)了錯誤#70362(Can't copy() large'data://' with open_basedir)。
修復(fù)了錯誤#78008(dns_check_record() 在 Alpine 上始終返回 true)。
修復(fù)了錯誤#79839(array_walk() 不 respect 屬性類型)。
更新說明:
https://www.php.net/ChangeLog-7.php#PHP_7_4
下載地址:
https://www.php.net/downloads.php