Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20461 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55962 invoked by uid 1010); 25 Nov 2005 22:29:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55947 invoked from network); 25 Nov 2005 22:29:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2005 22:29:17 -0000 X-Host-Fingerprint: 65.9.87.49 adsl-9-87-49.mia.bellsouth.net Received: from ([65.9.87.49:2509] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 16/02-56276-D3097834 for ; Fri, 25 Nov 2005 17:29:17 -0500 To: internals@lists.php.net,Rasmus Lerdorf Message-ID: <43879039.5070805@gmail.com> Date: Fri, 25 Nov 2005 17:29:13 -0500 User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <7.0.0.16.2.20051124161240.0573e640@zend.com> <90.0E.56276.6D207834@pb1.pair.com> <200511251419.56809.pookey@pookey.co.uk> <57.B8.56276.65B27834@pb1.pair.com> <73998811.20051125204046@marcus-boerger.de> <438782C6.80008@gmail.com> <43878626.5060300@lerdorf.com> <512771162.20051125225926@marcus-boerger.de> <43878C41.4030205@gmail.com> <43878D08.4020105@lerdorf.com> In-Reply-To: <43878D08.4020105@lerdorf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 65.9.87.49 Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there) From: jrhernandez05@gmail.com (Jessie Hernandez) Rasmus Lerdorf wrote: > >> $x = $y ? foo:bar : baz:stupid; > > > Forcing whitespace here isn't an option. It is completely inconsistent > with the rest of PHP. > > -Rasmus This is only one isolated case, though, and even then, it only happens with constants (classes don't work anyways here and don't make sense, and functions require the parentheses for the call). We have two options here: 1) Do not allow constants in namespaces, just stick to functions and classes. 2) Forget about this inconsistency. I understand your point of view, but it seems crazy to me to use "\", an operator that makes absolutely no sense at all and will be confusing for most users, just because of _one_ isolated case such as this. I personally choose option 2, and I think the many users who are clamoring for namespaces would agree also. Regards, Jessie