On Wed, 2003-03-26 at 13:18, George Schlossnagle wrote:
> What is the value of that syntax? That seems entirely confiusing to
> me. If
>
> namespace A { namespace B {} }
>
I believe the way it was designed was:
namespace A {
namespace A:B {
class C {
}
}
}
-Sterling
PS: Not 'for' or 'against,' I just remembered that as one of the
arguments.
> doesn't create a nested namespace, what is the value of having it?
>
> On Wednesday, March 26, 2003, at 01:10 PM, Stanislav Malyshev wrote:
>
> > Noting to fix. This is by design.
> >
> > AZ>> namespace A {
> > AZ>> namespace B{
> > AZ>> class C {
> > AZ>> function D() { print "asdf\n"; }
> > AZ>> }
> > AZ>> }
> > AZ>>
> > AZ>> }
> > AZ>>
> > AZ>> B::C::D();
> > AZ>>
> > AZ>> Apparently, the parser allows nesting namespaces, but they are all
> > AZ>> registered as global ones. Should be fixed, I think.
> > AZ>>
> > AZ>> -Andrei
> > http://www.gravitonic.com/
> > AZ>>
> > AZ>> Windows 2000 is certified not to crash more than
> > AZ>> once a day, so what is the bootup time, 24 hours?
> > AZ>> -- Sam Liddicott
> > AZ>>
> > AZ>>
> >
> > --
> > Stanislav Malyshev, Zend Products Engineer
> > [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109
> >
> >
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
--
--
"That stuff's easy compared to installing horde :)"
- Alan Knowles, In response to my applause for creating a LALR
parser for PHP.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php