rfc:reserve_keywords_in_php_8
PHP RFC: Reserve keywords in PHP 8
- Date: 2020-06-13
- Author: Ilija Tovilo tovilo.ilija@gmail.com
- Status: Withdrawn
- First Published at: https://wiki.php.net/rfc/reserve_keywords_in_php_8
Proposal
This RFC proposes adding new keywords to PHP 8 to avoid BC breaks in future PHP 8.x versions.
enum
(reserved_non_modifiers
)
Keyword type explanation
reserved_non_modifiers
Keywords marked as reserved_non_modifiers
will be disallowed in the following contexts:
- namespaces
- class names
- function names
- global constants
Vote
...
rfc/reserve_keywords_in_php_8.txt · Last modified: 2021/03/14 22:07 by ilutov