PHP 8.2.23 更新日志
PHP 8.2.23 发布于 2024 年 8 月 29 日,是 PHP 8.2 分支的正式维护版本,主要修复核心运行时、DOM、OPcache、PHPDBG、Soap、Streams 和 Tidy 相关问题。
- Core:修复 Zend Optimizer escape_analysis 和 zend_ini 内存泄漏、条件添加 -Wno-implicit-fallthrough、network.c 未初始化内存、shutdown 中销毁 generator 段错误,以及 suspended generator delegate GC 崩溃。
- Curl、DOM、FFI、Hash、Intl:修复 curl_error 返回空字符串、移除 doctype 后 foreach 迭代 use-after-free、匿名 FFI enum 内存泄漏、xxh3 共享内存数组数据转换崩溃,以及 IntlChar::foldCase() 的 option 参数可选性问题。
- OPcache 与 Output:修复 observer pass 4 后段错误、OPcache SHM placement 相关内存泄漏,以及 url_scanner_ex.re 中空指针解引用段错误。
- PDO_Firebird 与 PHPDBG:修复 firebird_handle_get_attribute() 错误 fallthrough path、phpdbg local console EOF 多余提示、phpdbg heap buffer overflow,以及 watchpoint allocation use-after-free。
- Soap 与 Standard:修复 SOAP digest 认证、SoapFault property destruction、classmap constructor option 下 SOAP XML 损坏,以及 stream functions 非有限 timeout 和 p(f)sockopen timeout overflow。
- Streams 与 Tidy:修复 Phar stream 内存泄漏、大于 2GB 文件 stream_notification_callback byte_max 整数溢出,以及 Tidy basedir restriction code 内存泄漏。





