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

PHP 8.3.22 came out on 5 June 2025. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 8.3.22

All PHP 8.3 releases

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

Core

  • Fixed GH-18480 (array_splice with large values for offset/length arguments). (nielsdos/David Carlier)
  • Partially fixed GH-18572 (nested object comparisons leading to stack overflow). (David Carlier)
  • Fixed OSS-Fuzz #417078295. (nielsdos)
  • Fixed OSS-Fuzz #418106144. (nielsdos)

Curl

  • Fixed GH-18460 (curl_easy_setopt with CURLOPT_USERPWD/CURLOPT_USERNAME/ CURLOPT_PASSWORD set the Authorization header when set to NULL). (David Carlier)

Date

  • Fixed bug GH-18076 (Since PHP 8, the date_sun_info() function returns inaccurate sunrise and sunset times, but other calculated times are correct) (JiriJozif).
  • Fixed bug GH-18481 (date_sunrise with unexpected nan value for the offset). (nielsdos/David Carlier)

Intl

  • Fix various reference issues. (nielsdos)

LDAP

  • Fixed bug GH-18529 (ldap no longer respects TLS_CACERT from ldaprc in ldap_start_tls()). (Remi)

Opcache

  • Fixed bug GH-18417 (Windows SHM reattachment fails when increasing memory_consumption or jit_buffer_size). (nielsdos)
  • Fixed bug GH-18567 (Preloading with internal class alias triggers assertion failure). (nielsdos)
  • Fix leak of accel_globals->key. (nielsdos)

OpenSSL

  • Fix missing checks against php_set_blocking() in xp_ssl.c. (nielsdos)

PDO_OCI

  • Fixed bug GH-18494 (PDO OCI segfault in statement GC). (nielsdos)

Sockets

  • - Fixed bug GH-18617 (socket_import_file_descriptor return value unchecked). (David Carlier)

SPL

  • Fixed bug GH-18421 (Integer overflow with large numbers in LimitIterator). (nielsdos)

Standard

  • Fixed bug GH-17403 (Potential deadlock when putenv fails). (nielsdos)
  • Fixed bug GH-18509 (Dynamic calls to assert() ignore zend.assertions). (timwolla)

Windows

  • Fix leak+crash with sapi_windows_set_ctrl_handler(). (nielsdos)

Zip

  • Fixed bug GH-18431 (Registering ZIP progress callback twice doesn't work). (nielsdos)
  • Fixed bug GH-18438 (Handling of empty data and errors in ZipArchive::addPattern). (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