Am 20.02.2015 um 19:51 schrieb Markus Fischer:
> From the RFC:
> 
>     “resource”
>     “object”
>     “scalar”
>     “mixed”
>     “numeric”
> 
> "... prohibits their usage as class, interface and trait names."
> 
> This is such a major BC break.

I just wonder why we need to prohibit these names. Can types not reside
in the global \ namespace? We could then change the class resolution
rules to allow to look also in \ as is done for functions currently.

Thanks
Dennis

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to