PHP 8.3.20 更新日志
PHP 8.3.20 于 2025 年 4 月 10 日发布,是 PHP 8.3 分支的维护版本,包含 Core、DOM、Embed、Fuzzer、GD、Intl、Mbstring、Opcache、PDO、SOAP、SPL、Treewide 和 Windows 等修复。
- Core:修复 dl() 加载模块类销毁时释放后使用、带别名类模块关闭阶段崩溃,以及 foreach 性能明显退化问题。
- DOM:修复 DOM 中异常的 unpack 行为,以及 xinclude 销毁 live attributes 的问题。
- Embed 与 Fuzzer:修复 Mac 上无法链接动态 libphp,以及 fuzzer SAPI 错误路径内存泄漏。
- GD 与 Intl:修复以带引用的数组作为参数调用的问题,包含 locale_compose、locale_lookup、dateformat_format 和 UConverter::transcode 等引用参数场景。
- Mbstring:修复 unset http_output_conv_mimetypes 时 mb_output_handler 崩溃。
- Opcache:修复 preloading 与 INI option 导致空访问,以及 try-finally 下 CFG jump 优化破坏异常表的问题。
- PDO 与 SOAP:修复销毁 PDORow 时内存泄漏,以及 SOAP typemap 破坏 parse_packet_soap 解析导致段错误的问题。
- SPL、Treewide、Windows:修复 ArrayObject offsetGet 返回 RC1 数据导致释放后使用、zend_reference_destroy() 断言失败,以及 Windows 行尾导致 zend_vm_gen.php 异常的问题。
