[RFC] Treat namespaced names as single token, relax reserved keyword restrictions
| From: | Nikita Popov | Date: | Tue, 16 Jun 2020 08:52:01 +0000 |
| Subject: | [RFC] Treat namespaced names as single token, relax reserved keyword restrictions | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-110568@lists.php.net to get a copy of this message | ||
Hi internals,
Inspired by the recent discussion on reserved keyword reservation, I'd like
to propose the following RFC:
https://wiki.php.net/rfc/namespaced_names_as_token
This RFC makes two related changes: Treat namespaced names as a single
token, which enables use of reserved keywords inside them. And remove
reserved keyword restrictions from various declarations.
The RFC comes with a small backwards compatibility break related to names
that include whitespace, but will hopefully reduce the backwards
compatibility impact of future reserved keyword additions.
Regards,
Nikita