Re: static type-references
| From: | Ralph Schindler | Date: | Fri, 15 Mar 2013 15:28:38 +0000 |
| Subject: | Re: static type-references | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66650@lists.php.net to get a copy of this message | ||
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