Re: multiple namespace per file

From: Date: Thu, 20 Sep 2007 14:30:05 +0000
Subject: Re: multiple namespace per file
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-32400@lists.php.net to get a copy of this message
On 9/11/07, Stanislav Malyshev <stas@zend.com> wrote: > if the > file has namespaces, then it can have no code outside namespaces. This seems like a great compromise, FWIW +1 here. Does closing php tags end the namespace declaration? ie would the following work: namespace foo; class a { public function bar() { ?>somerawoutput<?php } namespace foobar; class someclass{} ?? -- Marc Gear marcgear@gmail.com

« previous php.internals (#32400) next »