5.3 and reflection
| From: | Jeremy | Date: | Tue, 13 May 2008 20:07:07 +0000 |
| Subject: | 5.3 and reflection | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-37634@lists.php.net to get a copy of this message | ||
Hello,
I'm installing a recent snap of 5.3 on my dev server. The app I'm working on makes heavy use of reflection. How has reflection changed in 5.3 to address namespaces? What resolution rules apply when creating a ReflectionClass? If I try to create a ReflectionClass for a class that is outside the current namespace, what will happen?
Also, are there any plans to address namespaces themselves in the reflection API (i.e. ReflectionNamespace objects, getNamespace() method in the ReflectionClass object, etc)?
Thanks,
Jeremy