Re: [PHP] Autoloading with namespaces in 5.3.0

2009-06-01 Thread Eddie Drapkin
I did some further research and think I can manage to load \foo\bar\class.php fine, but if I use foo\bar\ as bar and load bar\class.php, does the autoloader have access to the scope of use or does it get translated to the FQ path? On Mon, Jun 1, 2009 at 10:44 AM, Nathan Nobbe wrote: > On Sat, May

Re: [PHP] Autoloading with namespaces in 5.3.0

2009-06-01 Thread Nathan Nobbe
On Sat, May 30, 2009 at 1:51 PM, Eddie Drapkin wrote: > Hey, I'm looking to start playing with 5.3.0, and thus by extension, > namespaces. One of the things that I definitely need support for is > autoloading, and the docs aren't exactly explicit in some (obvious to me) > cases. > > I have an au

[PHP] Autoloading with namespaces in 5.3.0

2009-05-30 Thread Eddie Drapkin
Hey, I'm looking to start playing with 5.3.0, and thus by extension, namespaces. One of the things that I definitely need support for is autoloading, and the docs aren't exactly explicit in some (obvious to me) cases. I have an autoloading class that internally handles file-not-found errors and t