rfc:reserve_keywords_in_php_8
This is an old revision of the document!
PHP RFC: Reserve keywords in PHP 8
- Date: 2020-06-13
- Author: Ilija Tovilo tovilo.ilija@gmail.com
- Status: Draft
- 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.1592073785.txt.gz · Last modified: 2020/06/13 18:43 by ilijatovilo