Commit 9ed85af67e9 for php.net
commit 9ed85af67e9a90d1599b9880720f23c2e7e06eae
Author: Gina Peter Banyard <girgias@php.net>
Date: Thu Jul 30 21:18:10 2026 +0100
NEWS/UPGRADING entries for new ReflectionAttribute methods
diff --git a/NEWS b/NEWS
index ca60824033c..4364d69650e 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,11 @@ PHP NEWS
error handler instead of emitting a warning and continuing with an empty
string. (Weilin Du)
+- Reflection:
+ . Added ReflectionAttribute::inNamespace(),
+ ReflectionAttribute::getNamespaceName(), and
+ ReflectionAttribute::getShortName(). (Girgias)
+
- Standard:
. The following functions now raise a ValueError when the $filename argument
contains NUL bytes: fileperms(), fileinode(), filesize(), fileowner(),
diff --git a/UPGRADING b/UPGRADING
index 8f107d19ec2..fd66c7e6118 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -483,6 +483,9 @@ PHP 8.6 UPGRADE NOTES
RFC: https://wiki.php.net/rfc/isreadable-iswriteable
. ReflectionParameter::getDocComment()
RFC: https://wiki.php.net/rfc/parameter-doccomments
+ . ReflectionAttribute::inNamespace()
+ . ReflectionAttribute::getNamespaceName()
+ . ReflectionAttribute::getShortName()
- Standard:
. clamp() returns the given value if in range, else return the nearest