Re: Namespace

From: Date: Thu, 06 Dec 2007 12:34:18 +0000
Subject: Re: Namespace
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-33798@lists.php.net to get a copy of this message
Am 06.12.2007 um 04:22 schrieb Jeremy Privett:
I know I just finished praising you just some hours ago, Stas, but I'm going to have to step in and agree with Larry on this one. It really doesn't make sense for there to be no braces for namespaces (especially if you're going to allow multiple per file). A namespace is a logical grouping of classes/functions and other constructs of this type in PHP use braces. That is very confusing syntax when compared to other areas of the language.
+1. If we allow multiple namespaces per file, then braces are an absolute must for consistency IMO. David

« previous php.internals (#33798) next »