Commit 77d4c7f7dda for php.net
commit 77d4c7f7dda31fb3517f021f8544aa3ce79499ea
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Wed Sep 2 12:10:02 2026 -0700
Reflection: add UPGRADING note about changed boolean constant display
diff --git a/UPGRADING b/UPGRADING
index 7f1fc588bd0..e390a70753b 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -733,6 +733,13 @@ PHP 8.6 UPGRADE NOTES
landed, which is a tautology; an invalid callback throws a TypeError via
ZPP before the function body is reached.
+- Reflection:
+ . The outputs of ReflectionClassConstant::__toString() and
+ ReflectionConstant::__toString() for constants with boolean values have been
+ changed to use `true` and `false` rather than `1` and an empty string. This
+ also affects other ways of printing class constants, e.g.
+ `ReflectionClass::__toString()`.
+
- Sockets:
. socket_addrinfo_lookup() now has an additional optional argument $error_code
that, when not null, receives the error code on failure (one of the EAI_*