×
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.8 release notes: what changed

PHP 8.3.8 came out on 6 June 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.8

All PHP 8.3 releases

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

CGI

CLI

  • Fixed bug GH-14189 (PHP Interactive shell input state incorrectly handles quoted heredoc literals.). (nielsdos)

Core

  • Fixed bug GH-13970 (Incorrect validation of #[Attribute] flags type for non-compile-time expressions). (ilutov)

DOM

  • Fix crashes when entity declaration is removed while still having entity references. (nielsdos)
  • Fix references not handled correctly in C14N. (nielsdos)
  • Fix crash when calling childNodes next() when iterator is exhausted. (nielsdos)
  • Fix crash in ParentNode::append() when dealing with a fragment containing text nodes. (nielsdos)

Filter

FPM

  • Fix bug GH-14175 (Show decimal number instead of scientific notation in systemd status). (Benjamin Cremer)

Hash

  • ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__` (Saki Takamachi)

Intl

  • Fixed build regression on systems without C++17 compilers. (Calvin Buckley, Peter Kokot)

MySQLnd

  • Fix bug GH-14255 (mysqli_fetch_assoc reports error from nested query). (Kamil Tekiela)

Opcache

  • Fixed bug GH-14109 (Fix accidental persisting of internal class constant in shm). (ilutov)

OpenSSL

  • The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable. (CVE-2024-2408)

Standard

XML

  • Fixed bug GH-14124 (Segmentation fault with XML extension under certain memory limit). (nielsdos)

XMLReader

  • Fixed bug GH-14183 (XMLReader::open() can't be overridden). (nielsdos)

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