Hi.

Stan Vassilev | FM wrote:
I suggest we introduce a new construct which will return a string
when passed any identifier to resolve against the current file's use
clauses:

nameof Symbol\Name;
...
NOTE: As a side effect this means less direct writing of string
function/class names, and less complaints about \ being the escape
characters.

Oh, that sounds very good. We do a lot of getComponent($classname) stuff, that would be awesome in that context.

Regards,
Karsten

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

Reply via email to