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

PHP 8.1.17 came out on 16 March 2023. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 8.1.17

All PHP 8.1 releases

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

Core

  • Fixed incorrect check condition in ZEND_YIELD. (nielsdos)
  • Fixed incorrect check condition in type inference. (nielsdos)
  • Fixed overflow check in OnUpdateMemoryConsumption. (nielsdos)
  • Fixed bug GH-9916 (Entering shutdown sequence with a fiber suspended in a Generator emits an unavoidable fatal error or crashes). (Arnaud)
  • Fixed bug GH-10437 (Segfault/assertion when using fibers in shutdown function after bailout). (trowski)
  • Fixed SSA object type update for compound assignment opcodes. (nielsdos)
  • Fixed language scanner generation build. (Daniel Black)
  • Fixed zend_update_static_property() calling zend_update_static_property_ex() misleadingly with the wrong return type. (nielsdos)
  • Fix bug GH-10570 (Fixed unknown string hash on property fetch with integer constant name). (nielsdos)
  • Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle() freeing dangling pointers on the handle as it was uninitialized. (nielsdos)

Curl

  • Fixed deprecation warning at compile time. (Max Kellermann)
  • Fixed bug GH-10270 (Unable to return CURL_READFUNC_PAUSE in readfunc callback). (Pierrick Charron)

Date

  • Fix GH-10447 ('p' format specifier does not yield 'Z' for 00:00). (Derick)

FFI

  • Fixed incorrect bitshifting and masking in ffi bitfield. (nielsdos)

Fiber

  • Fixed assembly on alpine x86. (nielsdos)
  • Fixed bug GH-10496 (segfault when garbage collector is invoked inside of fiber). (Bob, Arnaud)

FPM

  • Fixed bug GH-10315 (FPM unknown child alert not valid). (Jakub Zelenka)
  • Fixed bug GH-10385 (FPM successful config test early exit). (nielsdos)

Intl

  • Fixed bug GH-10647 (Spoolchecker isSuspicious/areConfusable methods error code's argument always returning NULL0. (Nathan Freeman)

JSON

  • Fixed JSON scanner and parser generation build. (Daniel Black, Jakub Zelenka)

MBString

  • ext/mbstring: fix new_value length check. (Max Kellermann)
  • Fix bug GH-10627 (mb_convert_encoding crashes PHP on Windows). (nielsdos)

Opcache

  • Fix incorrect page_size check. (nielsdos)
  • Fix readonly modification check when using inc/dec operators on readonly property with JIT. (ilutov)

OpenSSL

  • Fixed php_openssl_set_server_dh_param() DH params errors handling. (nielsdos)

PDO OCI

  • Fixed bug #60994 (Reading a multibyte CLOB caps at 8192 chars). (Michael Voříšek)

PHPDBG

  • Fixed bug GH-10715 (heap buffer overflow on --run option misuse). (nielsdos)

PGSQL

  • Fix GH-10672 (pg_lo_open segfaults in the strict_types mode). (girgias)

Phar

  • Fix incorrect check in phar tar parsing. (nielsdos)

Reflection

  • Fixed bug GH-10623 (Reflection::getClosureUsedVariables opcode fix with variadic arguments). (nielsdos)
  • Fix Segfault when using ReflectionFiber suspended by an internal function. (danog)

Session

  • Fixed ps_files_cleanup_dir() on failure code paths with -1 instead of 0 as the latter was considered success by callers. (nielsdos).

Standard

  • Fixed bug GH-10292 (Made the default value of the first param of srand() and mt_srand() unknown). (kocsismate)
  • Fix incorrect check in cs_8559_5 in map_from_unicode(). (nielsdos)
  • Fix bug GH-9697 for reset/end/next/prev() attempting to move pointer of properties table for certain internal classes such as FFI classes
  • Fix incorrect error check in browsecap for pcre2_match(). (nielsdos)

Tidy

  • Fix memory leaks when attempting to open a non-existing file or a file over 4GB. (Girgias)
  • Add missing error check on tidyLoadConfig. (nielsdos)

Zlib

  • Fixed output_handler directive value's length which counted the string terminator. (nieldos)

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