Commit bab1d27b925 for php.net
commit bab1d27b925cdfcb0e492964b93a62a7fe759913
Author: Weilin Du <weilindu@php.net>
Date: Sat Sep 5 17:57:53 2026 +0800
[skip ci] add NEWS and UPGRADING entries for #23236
diff --git a/NEWS b/NEWS
index 3416660ced1..f3c9b6ee73b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 8.6.0beta3
+- Core:
+ . Calling is_a() or is_subclass_of() with a string as the first argument
+ when $allow_string is false is now deprecated. (Daniel Scherzer)
+
- CLI:
. Fixed bug GH-23242 (PHP development server does not support Expect
100-continue flow control). (Sjoerd Langkemper)
diff --git a/UPGRADING b/UPGRADING
index 111b8d10bf8..fe6395dad74 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -536,6 +536,10 @@ PHP 8.6 UPGRADE NOTES
RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_the_possibility_to_name_a_function_readonly
. Passing a 3rd argument to define() is now deprecated.
RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_define_with_case_insensitive_being_specified
+ . Calling is_a() or is_subclass_of() with a string as the first argument
+ when $allow_string is false is now deprecated.
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_is_a_with_string_when_allow_string_is_false
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_is_subclass_of_with_string_when_allow_string_is_false
- BZ2:
. Passing an object for the Bzip2 {de}compression stream filter is now