php8.5
← All releases
PHP 8.2 Thursday, 23 November 2023

PHP 8.2.13

30 changes across 13 components.

Core

  • Fixed double-free of non-interned enum case name.
  • Fixed bug GH-12457 (Incorrect result of stripos with single character needle).
  • Fixed bug GH-12468 (Double-free of doc_comment when overriding static property via trait).
  • Fixed segfault caused by weak references to FFI objects.
  • Fixed max_execution_time: don't delete an unitialized timer.
  • Fixed bug GH-12558 (Arginfo soft-breaks with namespaced class return type if the class name starts with N).

DOM

  • Fix registerNodeClass with abstract class crashing.
  • Add missing NULL pointer error check.
  • Fix validation logic of php:function() callbacks.

Fiber

  • Fixed bug GH-11121 (ReflectionFiber segfault).

FPM

  • Fixed bug GH-9921 (Loading ext in FPM config does not register module handlers).
  • Fixed bug GH-12232 (FPM: segfault dynamically loading extension without opcache).
  • Fixed bug #76922 (FastCGI terminates conn after FCGI_GET_VALUES).

Intl

  • Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.

Opcache

  • Added warning when JIT cannot be enabled.
  • Fixed bug GH-8143 (Crashes in zend_accel_inheritance_cache_find since upgrading to 8.1.3 due to corrupt on-disk file cache).

OpenSSL

  • Fixed bug GH-12489 (Missing sigbio creation checking in openssl_cms_verify).

PCRE

  • Fixed bug GH-11374 (Backport upstream fix, Different preg_match result with -d pcre.jit=0).

SOAP

  • Fixed bug GH-12392 (Segmentation fault on SoapClient::__getTypes).
  • Fixed bug #66150 (SOAP WSDL cache race condition causes Segmentation Fault).
  • Fixed bug #67617 (SOAP leaves incomplete cache file on ENOSPC).
  • Fix incorrect uri check in SOAP caching.
  • Fix segfault and assertion failure with refcounted props and arrays.
  • Fix potential crash with an edge case of persistent encoders.
  • Fixed bug #75306 (Memleak in SoapClient).

Streams

  • Fixed bug #75708 (getimagesize with "&$imageinfo" fails on StreamWrappers).

XMLReader

  • Add missing NULL pointer error check.

XMLWriter

  • Add missing NULL pointer error check.

XSL

  • Add missing module dependency.
  • Fix validation logic of php:function() callbacks.