Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20459 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48565 invoked by uid 1010); 25 Nov 2005 22:23:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48549 invoked from network); 25 Nov 2005 22:23:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2005 22:23:49 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:49726] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F7/B0-56276-4FE87834 for ; Fri, 25 Nov 2005 17:23:48 -0500 Received: from [192.168.1.3] (dslb-084-063-047-015.pools.arcor-ip.net [84.63.47.15]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 637A9610282; Fri, 25 Nov 2005 23:29:59 +0100 (CET) Date: Fri, 25 Nov 2005 23:21:48 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <641977095.20051125232148@marcus-boerger.de> To: Rasmus Lerdorf Cc: Jessie Hernandez , internals@lists.php.net In-Reply-To: <43878D08.4020105@lerdorf.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there) From: helly@php.net (Marcus Boerger) Hello Rasmus, Friday, November 25, 2005, 11:15:36 PM, you wrote: > 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. And it is the main reason we dropped namespaces last time. Best regards, Marcus