PHP 8.5.7 更新日志
PHP 8.5.7 于 2026 年 6 月 4 日发布,是 PHP 8.5 分支的维护版本,包含 CLI、Date、DOM、Opcache、OpenSSL、Standard 和 URI 等修复。
- CLI:修复 getopt() 可选值陈旧的问题。
- Date 与 DOM:修复 php_date_llabs 中的整数溢出,以及自定义 XPath 函数中的 use-after-free。
- Opcache:修复 observed user function call 期间处理 VM interrupt 时 tracing JIT 崩溃、tracing JIT 段错误、ext/opcache/jit/zend_jit_trace.c 中的断言失败,以及 VM helper 处理 interrupt 时 tailcall VM 崩溃。
- OpenSSL:修复与 OpenSSL 4.0 的兼容性问题。
- Standard:修复 version_compare() 处理以点结尾版本时结果错误。
- URI:修复 uriparser 1.0.2 前多处 pointer difference 截断为 int 的安全问题,以及 EqualsUri 函数组可能将两个不相等 URI 误判为相等的问题。





