Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39961 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53298 invoked from network); 14 Aug 2008 15:11:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2008 15:11:58 -0000 Authentication-Results: pb1.pair.com header.from=catalin.zamfir@datagram.ro; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=catalin.zamfir@datagram.ro; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain datagram.ro from 193.223.101.91 cause and error) X-PHP-List-Original-Sender: catalin.zamfir@datagram.ro X-Host-Fingerprint: 193.223.101.91 s1-smtp.hostway.ro Linux 2.6 Received: from [193.223.101.91] ([193.223.101.91:52768] helo=s1-smtp.hostway.ro) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/61-45372-B3B44A84 for ; Thu, 14 Aug 2008 11:11:57 -0400 Received: from server.datagram.ro (server.datagram.ro [193.223.101.207]) by s1-smtp.hostway.ro (Postfix) with ESMTP id 4FEDC4B5B9; Thu, 14 Aug 2008 18:13:21 +0300 (EEST) Received: from [89.122.153.13] (helo=AntauriPC) by server.datagram.ro with esmtp (Exim 4.69) (envelope-from ) id 1KTeVh-0002P0-20; Thu, 14 Aug 2008 18:13:10 +0300 To: "'Stanislav Malyshev'" , "'Marcus Boerger'" Cc: References: <909776579.20080803142659@marcus-boerger.de> <840985F2-A701-4BE4-91F6-F6B39048CF9B@pooteeweet.org> <48A09FF4.1030101@zend.com> <7f3ed2c30808111411t51553771j389f05c3436bc625@mail.gmail.com> <48A0C415.9090104@zend.com> <48A0D579.2000000@zend.com> <48A0DBAE.2010401@zend.com> <496879481.20080812153636@marcus-boerger.de> <279600845.20080812225135@marcus-boerger.de> <1218621323.4926.1.camel@localhost> <1341995942.20080813152134@marcus-boerger.de> <1218634532.4926.5.camel@localhost> <1714092517.20080813194342@marcus-boerger.de> <48A32817.4020105@zend.com> <10910129111.20080813213721@marcus-boerger.de> <48A33D86.1010806@zend.com> <59637275.20080813221213@marcus-boerger.de> <48A34180.8070601@zend.com> In-Reply-To: <48A34180.8070601@zend.com> Date: Thu, 14 Aug 2008 15:11:13 +0300 Message-ID: <000001c8fe06$dac54780$904fd680$@zamfir@datagram.ro> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acj9gtkabotmYc0FT7K3qyDb9Ra0AAAg1Ftw Content-Language: en-us Subject: RE: [PHP-DEV] Inconsistencies in 5.3 From: catalin.zamfir@datagram.ro ("Catalin Zamfir Alexandru, DATAGRAM SRL") What do you mean are "file-local"?! So if I have a B.php, that includes A.php, and in A.php I have a namespace called Foo, I can't call a function from that namespace like Foo::someFunc () unless I call it from A.php?! So a Foo:someFunc () from B.php would be illegal? Cause if you're suggesting this, the whole idea of namespaces does something that can be described in PHP as: die ($namespaceLittleNamespaceIdea); -----Original Message----- From: Stanislav Malyshev [mailto:stas@zend.com] Sent: Wednesday, August 13, 2008 11:18 PM To: Marcus Boerger Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Inconsistencies in 5.3 Hi! > Simply include a script from two locations with different namespaces or one > with namespace and the otherone without. I'm afraid you misunderstand how namespaces work. As I explained numerous times, namespaces are file-local, and this when including file, it does not matter a bit what was including context. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php