PHP Release 8.1.17


PHP 8.1.17 Release Announcement

The PHP development team announces the immediate availability of PHP 8.1.17. This is a bug fix release.

All PHP 8.1 users are encouraged to upgrade to this version.

For source downloads of PHP 8.1.17 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

Source Code
PHP 8.1.17 (tar.gz)
SHA256: ef270156291d90a80ce83d68eee812f301cf5e48836a0ff6fd2931913f8e25c5
PHP 8.1.17 (tar.bz2)
SHA256: f4fb298a0eb091f944ecebac57b76daae768a970c2f51610a5ab24f34d8c0caf
PHP 8.1.17 (tar.xz)
SHA256: b5c48f95b8e1d8624dd05fc2eab7be13277f9a203ccba97bdca5a1a0fb4a1460
Change Logs
core
  • Fixed incorrect check condition in ZEND_YIELD.
  • Fixed incorrect check condition in type inference.
  • Fixed overflow check in OnUpdateMemoryConsumption.
  • Fixed bug GH-9916 (Entering shutdown sequence with a fiber suspended in a Generator emits an unavoidable fatal error or crashes).
  • Fixed bug GH-10437 (Segfault/assertion when using fibers in shutdown function after bailout).
  • Fixed SSA object type update for compound assignment opcodes.
  • Fixed language scanner generation build.
  • Fixed zend_update_static_property() calling zend_update_static_property_ex() misleadingly with the wrong return type.
  • Fix bug GH-10570 (Fixed unknown string hash on property fetch with integer constant name).
  • Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle() freeing dangling pointers on the handle as it was uninitialized.
curl
  • Fixed deprecation warning at compile time.
  • Fixed bug GH-10270 (Unable to return CURL_READFUNC_PAUSE in readfunc callback).
date
  • Fix GH-10447 ('p' format specifier does not yield 'Z' for 00:00).
ffi
  • Fixed incorrect bitshifting and masking in ffi bitfield.
fiber
  • Fixed assembly on alpine x86.
  • Fixed bug GH-10496 (segfault when garbage collector is invoked inside of fiber).
fpm
  • Fixed bug GH-10315 (FPM unknown child alert not valid).
  • Fixed bug GH-10385 (FPM successful config test early exit).
intl
  • Fixed bug GH-10647 (Spoolchecker isSuspicious/areConfusable methods error code's argument always returning NULL0.
json
  • Fixed JSON scanner and parser generation build.
mbstring
  • ext/mbstring: fix new_value length check.
  • Fix bug GH-10627 (mb_convert_encoding crashes PHP on Windows).
opcache
  • Fix incorrect page_size check.
  • Fix readonly modification check when using inc/dec operators on readonly property with JIT.
openssl
  • Fixed php_openssl_set_server_dh_param() DH params errors handling.
pdo oci
  • Fixed bug #60994 (Reading a multibyte CLOB caps at 8192 chars).
phpdbg
  • Fixed bug GH-10715 (heap buffer overflow on --run option misuse).
pgsql
  • Fix GH-10672 (pg_lo_open segfaults in the strict_types mode).
phar
  • Fix incorrect check in phar tar parsing.
reflection
  • Fixed bug GH-10623 (Reflection::getClosureUsedVariables opcode fix with variadic arguments).
  • Fix Segfault when using ReflectionFiber suspended by an internal function.
session
  • Fixed ps_files_cleanup_dir() on failure code paths with -1 instead of 0 as the latter was considered success by callers. .
standard
  • Fixed bug GH-10292 (Made the default value of the first param of srand() and mt_srand() unknown).
  • Fix incorrect check in cs_8559_5 in map_from_unicode().
  • 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().
tidy
  • Fix memory leaks when attempting to open a non-existing file or a file over 4GB.
  • Add missing error check on tidyLoadConfig.
zlib
  • Fixed output_handler directive value's length which counted the string terminator.
To Top