Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:318 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37398 invoked from network); 26 Mar 2003 18:11:14 -0000 Received: from unknown (HELO bela.bezeqint.net) (192.115.106.24) by pb1.pair.com with SMTP; 26 Mar 2003 18:11:14 -0000 Received: from mr3.bezeqint.net (pip-18.bezeqint.net [192.115.106.18]) by bela.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP id 455F233ECA for ; Wed, 26 Mar 2003 20:10:51 +0200 (IST) Received: from mail.zend.com (bzq-117-235-230.cust.bezeqint.net [192.117.235.230]) by mr3.bezeqint.net (Mirapoint Messaging Server MOS 3.3.3-GR) with SMTP id ASR46878; Wed, 26 Mar 2003 20:11:07 +0200 (IST) Received: (qmail 29042 invoked from network); 26 Mar 2003 18:10:50 -0000 Received: from shire.zend.office (10.1.1.11) by int.zend.com with SMTP; 26 Mar 2003 18:10:50 -0000 Date: Wed, 26 Mar 2003 20:10:50 +0200 (IST) X-X-Sender: frodo@shire.zend.office To: Andrei Zmievski Cc: PHP Internals In-Reply-To: <20030326180213.GA10036@hyperion.gravitonic.com> Message-ID: Organization: Zend Technologies Ltd (http://www.zend.com/) X-no-productlinks: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Namespaces bug From: stas@zend.com (Stanislav Malyshev) References: <20030326180213.GA10036@hyperion.gravitonic.com> 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 stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109