Hi Ivan
2015-07-02 15:48 GMT+02:00 "Ivan Enderlin"@Hoa <[email protected]>:
> I fear it will be a reserved keyword.
Internally defined classes, such as UConverter or stdClass are not
reserved keywords, they are not an actual part of the language but a
part of the library. Code like the one below is perfectly valid,
meaning the example you made will continue to work as long it remains
within a namespace:
C:\dev\php-src>php -r "namespace stdlib; class stdclass { }
var_dump(get_class(new stdclass), get_class(new \stdClass));"
string(15) "stdlib\stdclass"
string(8) "stdClass"
--
regards,
Kalle Sommer Nielsen
[email protected]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php