Re: Enhanced __CLASS__ constant
| From: | Lukas Kahwe Smith | Date: | Sun, 25 Jan 2009 15:31:12 +0000 |
| Subject: | Re: Enhanced __CLASS__ constant | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42826@lists.php.net to get a copy of this message | ||
On 21.01.2009, at 22:05, David Grudl wrote:
Especially in namespaced code it should be very useful to have "something" returning fully qualified name as string. It can be operator, but I think introducing new keyword is bad way, or it can be realized using well known magic constant in new context:I agree that there should be an easy way to get a fully qualified name from an identifier. Not sure what the best approach would be though .. regards, Lukas Kahwe Smith mls@pooteeweet.org