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
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to