Hi everybody! I've noticed that the "Reserve Even More Types in PHP 7" RFC[1] has been moved to "Process and Policy" with the comment "needs no impl". However, the RFC states:
| This RFC does not fully reserve them as keywords; it only prohibits | their usage as class, interface and trait names. In my opinion, this has to be enforced by throwing a fatal error ("Cannot use '*' as class name as it is reserved"), whenever one of the reserved identifiers (resource, object, mixed, numeric) is used as class, interface or trait name. Relying on documentation only seems to be insufficient to me. Consider a developer not reading the documentation and facing the issue that his/her code might break with PHP 7.1 (i.e. a minor version). The "Backward Incompatible Changes" section appears to support my opinion. [1] <https://wiki.php.net/rfc/reserve_even_more_types_in_php_7> -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php