Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20458 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41888 invoked by uid 1010); 25 Nov 2005 22:15:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41872 invoked from network); 25 Nov 2005 22:15:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2005 22:15:47 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:55610] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 40/AF-56276-31D87834 for ; Fri, 25 Nov 2005 17:15:47 -0500 Received: from [192.168.200.106] (c-24-6-5-134.hsd1.ca.comcast.net [24.6.5.134]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id jAPMFa8N030479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 Nov 2005 14:15:36 -0800 Message-ID: <43878D08.4020105@lerdorf.com> Date: Fri, 25 Nov 2005 14:15:36 -0800 User-Agent: Thunderbird 1.5 (Macintosh/20051025) MIME-Version: 1.0 To: Jessie Hernandez CC: internals@lists.php.net 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> In-Reply-To: <43878C41.4030205@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there) From: rasmus@lerdorf.com (Rasmus Lerdorf) Jessie Hernandez wrote: > Hi Marcus, > > Marcus Boerger wrote: >> Hello Jessie, >> >> that's only one case,go with consts. now try >> $x = $y ? foo:bar:baz:stupid; >> >> now what? >> >> best regards >> marcus >> > > Here it'll fail. My patch is basically allowing colons inside the > class/function/constant name, so whitespace here is _crucial_, i.e., the > following example WOULD work: > > $x = $y ? foo:bar : baz:stupid; Forcing whitespace here isn't an option. It is completely inconsistent with the rest of PHP. -Rasmus