[PHP-CVS] [php-src] master: [skip ci] UPGRADING: add missing RFC link for namespace as constant name (#23389)
[email protected] (Juliette via GitHub)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Juliette (jrfnl) Committer: GitHub (web-flow) Pusher: LamentXU123 Date: 2026-08-20T17:25:06+08:00 Commit: https://github.com/php/php-src/commit/1ac495b13785ce53d3fbe6f8812d331b97b0cf47 Raw diff: https://github.com/php/php-src/commit/1ac495b13785ce53d3fbe6f8812d331b97b0cf47.diff [skip ci] UPGRADING: add missing RFC link for namespace as constant name (#23389) Co-authored-by: jrfnl <[email protected]> Changed paths: M UPGRADING Diff: diff --git a/UPGRADING b/UPGRADING index 67024bad7e66..a99299098f98 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