PHP Release 8.1.25


PHP 8.1.25 Release Announcement

The PHP development team announces the immediate availability of PHP 8.1.25. 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.25 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.25 (tar.gz)
SHA256: 1a8c59d6b3eccb404c229e947558d2bf1220c3dec0b0036690fadc07f39934ab
PHP 8.1.25 (tar.bz2)
SHA256: a86a88c1840c1bc832bcfd2fbec3b8a1942c8314da5dff53f09f9c98d0c12e8a
PHP 8.1.25 (tar.xz)
SHA256: 66fdba064aa119b1463a7969571d42f4642690275d8605ab5149bcc5107e2484
Change Logs
core
  • Fixed bug GH-12207 (memory leak when class using trait with doc block).
  • Fixed bug GH-12215 (Module entry being overwritten causes type errors in ext/dom).
  • Fixed bug GH-12273 (__builtin_cpu_init check).
  • Fixed bug #80092 (ZTS + preload = segfault on shutdown).
cli
  • Ensure a single Date header is present.
ctype
  • Fixed bug GH-11997 (ctype_alnum 5 times slower in PHP 8.1 or greater).
dom
  • Restore old namespace reconciliation behaviour.
  • Fixed bug GH-8996 (DOMNode serialization on PHP ^8.1).
fileinfo
  • Fixed bug GH-11891 (fileinfo returns text/xml for some svg files).
filter
  • Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK
hash
  • Fixed bug GH-12186 (segfault copying/cloning a finalized HashContext).
intl
  • Fixed bug GH-12243 (segfault on IntlDateFormatter::construct).
  • Fixed bug GH-12282 (IntlDateFormatter::construct should throw an exception on an invalid locale).
mysqlnd
  • Fixed bug GH-12297 (PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line).
opcache
  • Fixed opcache_invalidate() on deleted file.
  • Fixed bug GH-12380 (JIT+private array property access inside closure accesses private property in child class).
pcre
  • Fixed bug GH-11956 (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result).
simplexml
  • Fixed bug GH-12170 (Can't use xpath with comments in SimpleXML).
  • Fixed bug GH-12223 (Entity reference produces infinite loop in var_dump/print_r).
  • Fixed bug GH-12167 (Unable to get processing instruction contents in SimpleXML).
  • Fixed bug GH-12169 (Unable to get comment contents in SimpleXML).
streams
  • Fixed bug GH-12190 (binding ipv4 address with both address and port at 0).
xml
  • Fix return type of stub of xml_parse_into_struct().
  • Fix memory leak when calling xml_parse_into_struct() twice.
xsl
  • Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.
sockets
  • Fix socket_export_stream() with wrong protocol
To Top