Commit 1ac495b1378 for php.net
commit 1ac495b13785ce53d3fbe6f8812d331b97b0cf47
Author: Juliette <663378+jrfnl@users.noreply.github.com>
Date: Thu Aug 20 11:25:06 2026 +0200
[skip ci] UPGRADING: add missing RFC link for namespace as constant name (#23389)
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
diff --git a/UPGRADING b/UPGRADING
index 67024bad7e6..a99299098f9 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -462,6 +462,7 @@ PHP 8.6 UPGRADE NOTES
- Core:
. Using "namespace" as a class constant name is deprecated.
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_using_namespace_as_a_class_constant_name
. Using the return statement in a finally block is now deprecated.
RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_returning_from_a_finally_block
. Specifying a return type of array|null / ?array for __debugInfo() is now