Tony Bibbs wrote:
> Given this:
> 
> use \MyProject\SubProjectA as A;
> 
> A\foo::someMethod();
> 
> The className given is to the autoload function is
> "MyProject\SubProjectA\foo" not "\MyProject\SubProjectA\foo" (notice lack of
> leading \)
> 
> I just wanted to verify that behaves as intended (which I'm guessing it
> does).

Yes.  This is probably a good item to add to the FAQ.

Greg

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

Reply via email to