×
UpdatePHP Pro Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 8.3.6 release notes: what changed

PHP 8.3.6 came out on 11 April 2024. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

Security This release fixed security problems. PHP 8.3 has had newer releases since then, so if your site runs on PHP 8.3, update it to PHP 8.3.36, which includes these fixes.

What changed in PHP 8.3.6

All PHP 8.3 releases

The changes are listed in English, exactly as the PHP developers wrote them (26 in total).

Core

  • Fixed GH-13569 (GC buffer unnecessarily grows up to GC_MAX_BUF_SIZE when scanning WeakMaps). (Arnaud)
  • Fixed bug GH-13612 (Corrupted memory in destructor with weak references). (nielsdos)
  • Fixed bug GH-13446 (Restore exception handler after it finishes). (ilutov)
  • Fixed bug GH-13784 (AX_GCC_FUNC_ATTRIBUTE failure). (Remi)
  • Fixed bug GH-13670 (GC does not scale well with a lot of objects created in destructor). (Arnaud)

DOM

  • Add some missing ZPP checks. (nielsdos)
  • Fix potential memory leak in XPath evaluation results. (nielsdos)

FPM

  • Fixed GH-11086 (FPM: config test runs twice in daemonised mode). (Jakub Zelenka)
  • Fixed incorrect check in fpm_shm_free(). (nielsdos)

GD

  • Fixed bug GH-12019 (add GDLIB_CFLAGS in feature tests). (Michael Orlitzky)

Gettext

  • Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5 with category set to LC_ALL. (David Carlier)

MySQLnd

  • Fix GH-13452 (Fixed handshake response [mysqlnd]). (Saki Takamachi)
  • Fix incorrect charset length in check_mb_eucjpms(). (nielsdos)

Opcache

  • Fixed GH-13508 (JITed QM_ASSIGN may be optimized out when op1 is null). (Arnaud, Dmitry)
  • Fixed GH-13712 (Segmentation fault for enabled observers when calling trait method of internal trait when opcache is loaded). (Bob)

Random

  • Fixed bug GH-13544 (Pre-PHP 8.2 compatibility for mt_srand with unknown modes). (timwolla)
  • Fixed bug GH-13690 (Global Mt19937 is not properly reset in-between requests when MT_RAND_PHP is used). (timwolla)

Session

  • Fixed bug GH-13680 (Segfault with session_decode and compilation error). (nielsdos)

SPL

  • Fixed bug GH-13685 (Unexpected null pointer in zend_string.h). (nielsdos)

Standard

This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net.

Back to Guide Index
Article last updated: 21st October, 2026