PHP 8.1.5 现已发布,这是一个错误修复版本;官方鼓励所有 PHP 8.1 用户升级到此版本。具体更新内容如下:

Core
修复了错误#8176(属性初始化程序中的枚举值泄漏)。
修复了内部属性参数的释放问题。
修复了错误#8070(内部函数属性哈希的内存泄漏)。
修复了错误#8160(Alpine 上的 ZTS 支持已损坏)。
Filter:
修复了 php_filter_validate_domain() 中的 signedness confusion。
Intl:
修复了错误#8115(实例化 Intl 类时无法捕获 arg 类型弃用)。
修复了错误#8142(cygwin 上的编译错误)。
修复了错误#7734(修复 IntlPartsIterator 键 off-by-one error 和 first key)。
MBString:
修复了错误#8208(mb_encode_mimeheader: $indent 功能损坏)。
MySQLi:
修复了错误#8068(mysqli_fetch_object 创建了不可访问的属性)。
Pcntl:
修复了错误#8142(cygwin 上的编译错误)。
PgSQL:
修复了 LLP64 架构上与 result_type 相关的堆栈损坏。
修复了错误#8253(pg_insert() 引用失败)。
Sockets:
修复了 Solaris 构建。
SPL:
修复了错误#8121(SplFileObject - seek 和 key 与 csv 文件不一致)。
修复了错误#8192(在 8.1 中无法在没有返回 typehint 的情况下覆盖 DirectoryIterator::current())。
Standard:
修复了错误#8048(强制 macOS 使用 statfs)。

更新说明:https://www.php.net/ChangeLog-8.php#8.1.5

PHP 8.1.5 is now out, a bugfix release; all PHP 8.1 users are encouraged to upgrade to this release. The specific updates are as follows:

Core
Fixed bug #8176 (enumeration value leak in property initializer).
Fixed release of internal property parameters.
Fixed bug #8070 (memory leak of internal function property hash).
Fixed bug #8160 (ZTS support on Alpine is broken).
Filter:
Fixed signedness confusion in php_filter_validate_domain() .
Intl:
Fixed bug #8115 (Cannot catch arg type deprecation when instantiating Intl class).
Fixed bug #8142 (compile error on cygwin).
Fixed bug #7734 (fix IntlPartsIterator key off-by-one error and first key).
MBString:
Fixed bug #8208 (mb_encode_mimeheader: $indent function broken).
MySQLi:
Fixed bug #8068 (mysqli_fetch_object created inaccessible properties).
Pcntl:
Fixed bug #8142 (compile error on cygwin).
PgSQL:
Fixed stack corruption related to result_type on LLP64 architecture.
Fixed bug #8253 (pg_insert() reference failed).
Sockets:
Fixed Solaris builds.
SPL:
Fixed bug #8121 (SplFileObject - seek and key inconsistent with csv files).
Fixed bug #8192 (Cannot override DirectoryIterator::current() without returning typehint in 8.1).
Standard:
Fixed bug #8048 (force macOS to use statfs).

Update Instructions: https://www.php.net/ChangeLog-8.php#8.1.5

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。