php8.5
← All releases
PHP 8.2 Thursday, 04 July 2024

PHP 8.2.21

30 changes across 16 components.

Core

  • Fixed bug GH-14315 (Incompatible pointer type warnings).
  • Fixed bug GH-12814 (max_execution_time reached too early on MacOS 14 when running on Apple Silicon).
  • Fixed bug GH-14387 (Crash when stack walking in destructor of yielded from values during Generator->throw()).
  • Fixed bug GH-14456 (Attempting to initialize class with private constructor calls destructor).
  • Fixed bug GH-14549 (Incompatible function pointer type for fclose).

BCMath

  • Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0).

Curl

  • Fixed bug GH-14307 (Test curl_basic_024 fails with curl 8.8.0).

DOM

  • Fixed bug GH-14343 (Memory leak in xml and dom).

FPM

  • Fixed bug GH-14037 (PHP-FPM ping.path and ping.response config vars are ignored in status pool).

GD

  • Fix parameter numbers for imagecolorset().

Intl

  • Fix reference handling in SpoofChecker.

MySQLnd

  • Partially fix bug GH-10599 (Apache crash on Windows when using a self-referencing anonymous function inside a class with an active mysqli connection).

Opcache

  • Fixed bug GH-14267 (opcache.jit=off does not allow enabling JIT at runtime).
  • Fixed TLS access in JIT on FreeBSD/amd64.
  • Fixed bug GH-11188 (Error when building TSRM in ARM64).

PDO ODBC

  • Fixed bug GH-14367 (incompatible SDWORD type with iODBC).

PHPDBG

  • Fixed bug GH-13681 (segfault on watchpoint addition failure).

Soap

  • Fixed bug #47925 (PHPClient can't decompress response).
  • Fix missing error restore code.
  • Fix memory leak if calling SoapServer::setObject() twice.
  • Fix memory leak if calling SoapServer::setClass() twice.
  • Fix reading zlib ini settings in ext-soap.
  • Fix memory leaks with string function name lookups.
  • Fixed bug #69280 (SoapClient classmap doesn't support fully qualified class name).
  • Fixed bug #76232 (SoapClient Cookie Header Semicolon).
  • Fixed memory leaks when calling SoapFault::__construct() twice.

Sodium

  • Fix memory leaks in ext/sodium on failure of some functions.

SPL

  • Fixed bug GH-14290 (Member access within null pointer in extension spl).

Standard

  • Fixed bug GH-14483 (Fixed off-by-one error in checking length of abstract namespace Unix sockets).

Streams

  • Fixed bug GH-11078 (PHP Fatal error triggers pointer being freed was not allocated and malloc: double free for ptr errors).