Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20484 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16392 invoked by uid 1010); 26 Nov 2005 04:28:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16376 invoked from network); 26 Nov 2005 04:28:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 04:28:01 -0000 X-Host-Fingerprint: 84.60.44.127 dslb-084-060-044-127.pools.arcor-ip.net Received: from ([84.60.44.127:12847] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 6B/D6-56276-154E7834 for ; Fri, 25 Nov 2005 23:28:01 -0500 Message-ID: <6B.D6.56276.154E7834@pb1.pair.com> To: internals@lists.php.net Date: Sat, 26 Nov 2005 05:27:54 +0100 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: de-DE, de, 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> In-Reply-To: <512771162.20051125225926@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 84.60.44.127 Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there) From: oliver.graetz@arcor.de (=?ISO-8859-1?Q?Oliver_Gr=E4tz?=) Marcus Boerger schrieb: > Hello Jessie, > > that's only one case,go with consts. now try > $x = $y ? foo:bar:baz:stupid; That's nonsense. If I as a programmer cannot comprehend what it should mean by looking at it then I shouldn't expect that from the language. To me, this looks like the constant stupid in the class baz of the subnamespace (?) bar of the namespace foo and the statement lacks the third parameter. Or well, should it...? The heck, let's put brackets. Ah! Now it's clear. And this is the moment where I would expect the language to understand it, too. OLLi