php8.5
← All releases
PHP 8.5 Tuesday, 02 June 2026

PHP 8.5.7

12 changes across 8 components.

CLI

  • Fixed bug GH-21901 (Stale getopt() optional value).

Core

  • Fixed bug GH-22071 (JIT assertion on abstract static method call).

Date

  • Fixed bug GH-18422 (int overflow in php_date_llabs).

DOM

  • Fixed bug GH-22077 (UAF in custom XPath function).

Opcache

  • Fixed tracing JIT crash when a VM interrupt is handled during an observed user function call.
  • Fixed bug GH-21746 (Segfault with tracing JIT).
  • Fixed bug GH-22004 (Assertion failure at ext/opcache/jit/zend_jit_trace.c).
  • Fixed tailcall VM crash when a VM interrupt is handled from a VM helper.

OpenSSL

  • Fix compatibility issues with OpenSSL 4.0.

Standard

  • Fixed bug GH-21689 (version_compare() incorrectly handles versions ending with a dot).

URI