I missed this. We'll soon have User::class. This may resolve to, e.g.,
'Foo\User'.

Right, and since the literal/string version of the class is as "1st class citizen" as it could possibly get, it makes it easier for tools like Studio/Storm/phpunit/etc to do better static analysis of class names.

The immediate usage for an IDE would be clean refactoring of type names.

-ralph

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

Reply via email to