Re: Namespace
| From: | David Zülke | Date: | Thu, 06 Dec 2007 17:44:32 +0000 |
| Subject: | Re: Namespace | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33803@lists.php.net to get a copy of this message | ||
If a namespace can be valid for a portion of code in one file, then it should be possible to use the same syntax as for all other blocks in PHP. You wouldn't suggest this:
class Foo;
public function zomg() {}
class Bar;
public function lolz() {}
would you? Not the same thing, but you get the idea.
David
Am 06.12.2007 um 18:13 schrieb Stanislav Malyshev:
+1. If we allow multiple namespaces per file, then braces are an absolute must for consistency IMO.I do not see any relation between consistency and braces. --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