@@ -204,6 +204,10 @@ PHP 8.0 UPGRADE NOTES
204204 numbers and numeric strings continue to work as before. Notably, this means
205205 that `0 == "not-a-number"` is considered false now.
206206 RFC: https://wiki.php.net/rfc/string_to_number_comparison
207+ . Namespaced names can no longer contain whitespace: While `Foo\Bar` will be
208+ recognized as a namespaced name, `Foo \ Bar` will not. Conversely, reserved
209+ keywords are now permitted as namespace segments.
210+ RFC: https://wiki.php.net/rfc/namespaced_names_as_token
207211
208212- COM:
209213 . Removed the ability to import case-insensitive constants from type
@@ -509,6 +513,11 @@ PHP 8.0 UPGRADE NOTES
509513 instead be part of a following T_WHITESPACE token. It should be noted that
510514 T_COMMENT is not always followed by whitespace, it may also be followed by
511515 T_CLOSE_TAG or end-of-file.
516+ . Namespaced names are now represented using the T_NAME_QUALIFIED (Foo\Bar),
517+ T_NAME_FULLY_QUALIFIED (\Foo\Bar) and T_NAME_RELATIVE (namespace\Foo\Bar)
518+ tokens. T_NS_SEPARATOR is only used for standalone namespace separators,
519+ and only syntactially valid in conjunction with group use declarations.
520+ RFC: https://wiki.php.net/rfc/namespaced_names_as_token
512521
513522- XML:
514523 . xml_parser_create(_ns) will now return an XmlParser object rather than a
0 commit comments