Commit 48aefb56d3e for php.net
commit 48aefb56d3eb3d8cf3910af625c8904d60e89a57
Merge: b3061dfac0b 01bca99955f
Author: David Carlier <devnexen@gmail.com>
Date: Sat Nov 15 17:21:39 2025 +0000
Merge branch 'PHP-8.5'
* PHP-8.5:
Fix GH-20483: ASAN stack overflow with small fiber.stack_size INI value.
diff --cc NEWS
index 938aa1f72ed,61912827f3d..7124d1bc278
--- a/NEWS
+++ b/NEWS
@@@ -1,29 -1,82 +1,33 @@@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? ????, PHP 8.5.1
+?? ??? ????, PHP 8.6.0alpha1
- Core:
- . Sync all boost.context files with release 1.86.0. (mvorisek)
- . Fixed bug GH-20435 (SensitiveParameter doesn't work for named argument
- passing to variadic parameter). (ndossche)
+ . Added first-class callable cache to share instances for the duration of the
+ request. (ilutov)
+ . It is now possible to use reference assign on WeakMap without the key
+ needing to be present beforehand. (nielsdos)
-- DOM:
- . Fix memory leak when edge case is hit when registering xpath callback.
- (ndossche)
- . Fixed bug GH-20395 (querySelector and querySelectorAll requires elements
- in $selectors to be lowercase). (ndossche)
- . Fix missing NUL byte check on C14NFile(). (ndossche)
+- Hash:
+ . Upgrade xxHash to 0.8.2. (timwolla)
+
+- Intl:
+ . Added IntlNumberRangeFormatter class to format an interval of two numbers
+ with a given skeleton, locale, collapse type and identity fallback.
+ (BogdanUngureanu)
+ - Fibers:
+ . Fixed bug GH-20483 (ASAN stack overflow with fiber.stack_size INI
+ small value). (David Carlier)
+
- Opcache:
- . Fixed bug GH-20329 (opcache.file_cache broken with full interned string
- buffer). (Arnaud)
+ . Fixed bug GH-20051 (apache2 shutdowns when restart is requested during
+ preloading). (Arnaud, welcomycozyhom)
- Phar:
- . Fixed bug GH-20442 (Phar does not respect case-insensitiveness of
- __halt_compiler() when reading stub). (ndossche, TimWolla)
- . Fix broken return value of fflush() for phar file entries. (ndossche)
- . Fix assertion failure when fseeking a phar file out of bounds. (ndossche)
-
-- PHPDBG:
- . Fixed ZPP type violation in phpdbg_get_executable() and phpdbg_end_oplog().
- (Girgias)
-
-- Standard:
- . Fix memory leak in array_diff() with custom type checks. (ndossche)
-
-- XML:
- . Fixed bug GH-20439 (xml_set_default_handler() does not properly handle
- special characters in attributes when passing data to callback). (ndossche)
-
-13 Nov 2025, PHP 8.5.0RC5
-
-- Core:
- . Fixed bug GH-17951 (memory_limit is not always limited by max_memory_limit).
- (manuelm)
- . Address bug GH-20384 (Confirm if ob_gzhandler is impacted by ob_start
- handler changes) by reverting GH-18932 (Deprecate returning non-string
- values from a user output handler). (DanielEScherzer)
-
-- URI:
- . Fixed bug GH-20431 (Uri\Rfc3986\Uri::setHost(null) turns empty path into /)
- by updating to a newer uriparser snapshot. (timwolla)
- . Fixed the distinction between an empty and a missing query/fragment
- when using Uri\WhatWg\Url::getQuery() and Uri\WhatWg\Url::getFragment().
- (kocsismate)
-
-06 Nov 2025, PHP 8.5.0RC4
-
-- Core:
- . Fixed bug GH-20270 (Broken parent hook call with named arguments). (ilutov)
- . Fixed bug GH-20183 (Stale EG(opline_before_exception) pointer through eval).
- (ilutov)
- . Fixed bug GH-20194 (null offset deprecation not emitted for writes).
- (Girgias)
- . Fixed bug GH-GH-20377 (final promoted properties without explicit visibility
- not automatically assigned). (DanielEScherzer)
-
-- Opcache:
- . Fixed bug GH-20012 (heap buffer overflow in jit). (Arnaud)
- . Partially fixed bug GH-17733 (Avoid calling wrong function when reusing file
- caches across differing environments). (ilutov)
-
-- PCRE:
- . Downgrade back to PCRE2 10.44, see GH-20341. (nielsdos)
-
-- PgSql:
- . Fix segfaults when attempting to fetch row into a non-instantiable class
- name. (Girgias, nielsdos)
+ . Support reference values in Phar::mungServer(). (nielsdos)
+ . Invalid values now throw in Phar::mungServer() instead of being silently
+ ignored. (nielsdos)
- Reflection:
. Fixed bug GH-20217 (ReflectionClass::isIterable() incorrectly returns true