com php-src: Expand upgrading note for namespaced name change: UPGRADING

From: Date: Mon, 10 Aug 2020 09:20:07 +0000
Subject: com php-src: Expand upgrading note for namespaced name change: UPGRADING
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112629@lists.php.net to get a copy of this message
Commit: e81ad4089e7435bec8dc075089e9c47851b8ddb7 Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 10 Aug 2020 11:19:35 +0200 Parents: ee163161480f4196d618036728f4765de7139068 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e81ad4089e7435bec8dc075089e9c47851b8ddb7 Log: Expand upgrading note for namespaced name change Mention the case from bug #79942. [ci skip] Bugs: https://bugs.php.net/79942 Changed paths: M UPGRADING Diff: diff --git a/UPGRADING b/UPGRADING index 15e19f27822..c74fc585ad3 100644 --- a/UPGRADING +++ b/UPGRADING @@ -206,7 +206,9 @@ PHP 8.0 UPGRADE NOTES RFC: https://wiki.php.net/rfc/string_to_number_comparison . Namespaced names can no longer contain whitespace: While Foo\Bar will be recognized as a namespaced name, Foo \ Bar will not. Conversely, reserved - keywords are now permitted as namespace segments. + keywords are now permitted as namespace segments, which may also change the + interpretation of code: new\x is now the same as constant('new\x'), not + new \x(). RFC: https://wiki.php.net/rfc/namespaced_names_as_token . Nested ternaries now require explicit parentheses. RFC: https://wiki.php.net/rfc/ternary_associativity

« previous php.cvs (#112629) next »