At 11:21 AM 6/27/2002 +0200, phpsurf wrote:
> > -----Original Message-----
> > From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
> > Sent: mercredi 26 juin 2002 21:02
> > To: Brad LaFountain; Ivan Ristic; phpsurf
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class
> > Autoloading [PATCH]
> >
> >
> > Hey,
> >
> > What I meant was nested classes, my bad :)
> > I meant it won't work for Foo::Bar::Barbara but only for class Foo.
> >
>
>Andi,
>
>what is the problem with nested classes ?
>it is that the only class name that could be passed to __autoload is
>"Barbara" instead of "Foo::Bar::Barbara" ?
>or is it the problem to pass the class context to __autoload so the new
>nested class gets created inside the appropriate context ?
>
>just to understand ...

At the time you reach Barbara you have no way of knowing that you're in 
Foo::Bar.
Just make sure that if Foo is autoloaded that you load all its classes if 
you need them.
I think this autoload is more than enough for the people who asked for this 
feature.

Andi


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

Reply via email to