php8.5
← All releases
PHP 8.3 Thursday, 10 April 2025

PHP 8.3.20

19 changes across 13 components.

Core

  • Fixed bug GH-17961 (use-after-free during dl()'ed module class destruction).
  • Fixed bug GH-15367 (dl() of module with aliased class crashes in shutdown).
  • Fixed bug GH-13193 again (Significant performance degradation in 'foreach').

DOM

  • Fix weird unpack behaviour in DOM.
  • Fix xinclude destruction of live attributes.

Embed

  • Fixed bug GH-8533 (Unable to link dynamic libphp on Mac).

Fuzzer

  • Fixed bug GH-18081 (Memory leaks in error paths of fuzzer SAPI).

GD

  • Fixed bug GH-17984 (calls with arguments as array with references).

Intl

  • Fix locale_compose and locale_lookup to work with their array argument with values as references.
  • Fix dateformat_format when the time is an array of references.
  • Fix UConverter::transcode with substitutes as references.

Mbstring

  • Fixed bug GH-17989 (mb_output_handler crash with unset http_output_conv_mimetypes).

Opcache

  • Fixed bug GH-18112 (NULL access with preloading and INI option).
  • Fixed bug GH-18107 (Opcache CFG jmp optimization with try-finally breaks the exception table).

PDO

  • Fix memory leak when destroying PDORow.

SOAP

  • Fixed bug #66049 (Typemap can break parsing in parse_packet_soap leading to a segfault) .

SPL

  • Fixed bug GH-18018 (RC1 data returned from offsetGet causes UAF in ArrayObject).

Treewide

  • Fixed bug GH-17736 (Assertion failure zend_reference_destroy()).

Windows

  • Fixed bug GH-17836 (zend_vm_gen.php shouldn't break on Windows line endings).