php8.5
← All releases
PHP 8.2 Thursday, 18 January 2024

PHP 8.2.15

21 changes across 16 components.

Core

  • Fixed bug GH-12953 (false positive SSA integrity verification failed when loading composer classmaps with more than 11k elements).
  • Fixed bug GH-12966 (missing cross-compiling 3rd argument so Autoconf doesn't emit warnings).
  • Fixed bug GH-13727 (missing void keyword for C generate code for feature test).

Cli

  • Fix incorrect timeout in built-in web server when using router script and max_input_time.

FFI

  • Fixed bug GH-9698 (stream_wrapper_register crashes with FFI\CData).
  • Fixed bug GH-12905 (FFI::new interacts badly with observers).

GD

  • Fixed GH-13082 undefined behavior with GdFont instances handling with imageload* and imagechar*.

Intl

  • Fixed GH-12943 (IntlDateFormatter::__construct accepts 'C' as valid locale).

Hash

  • Fixed bug GH-12936 (hash() function hangs endlessly if using sha512 on strings >= 4GiB).

ODBC

  • Fix crash on Apache shutdown with persistent connections.

Opcache

  • Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM with NULL when DIM is the same var as result).
  • Added workaround for SELinux mprotect execheap issue. See https://bugzilla.kernel.org/show_bug.cgi?id=218258.

OpenSSL

  • Fixed bug GH-12987 (openssl_csr_sign might leak new cert on error).

PDO

  • Fix GH-12969 (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).

PDO_ODBC

  • Fixed bug GH-12767 (Unable to turn on autocommit mode with setAttribute()).

PGSQL

  • Fixed auto_reset_persistent handling and allow_persistent type.
  • Fixed bug GH-12974 (Apache crashes on shutdown when using pg_pconnect()).

Phar

  • Fixed bug #77432 (Segmentation fault on including phar file).

PHPDBG

  • Fixed bug GH-12962 (Double free of init_file in phpdbg_prompt.c).

SimpleXML

  • Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash.

Tidy

  • Fixed bug GH-12980 (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes).