Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20540 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12519 invoked by uid 1010); 26 Nov 2005 13:07:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12499 invoked from network); 26 Nov 2005 13:07:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 13:07:43 -0000 X-Host-Fingerprint: 66.249.82.201 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.201:13680] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C6/4E-56276-E1E58834 for ; Sat, 26 Nov 2005 08:07:42 -0500 Received: by xproxy.gmail.com with SMTP id t10so711397wxc for ; Sat, 26 Nov 2005 05:07:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BDswWtIhJnbgmg7Wy/9g66LFDT/pEZaq4xJvw8LgqsFOJhaBLM1Lx92ZxXA+hsh1QvjsFdfDy8ga653IwRpq0qZX9ViePCD1ZTH6sDlzculzja+5/2q5cpRNjYMSfR0DMMLPYWJrzGUtoF5o/RZxRc7d/vzjcp0SsYF861HC1UI= Received: by 10.70.132.19 with SMTP id f19mr8289454wxd; Sat, 26 Nov 2005 05:07:39 -0800 (PST) Received: by 10.70.10.7 with HTTP; Sat, 26 Nov 2005 05:07:39 -0800 (PST) Message-ID: <818043770511260507t11d62024l378c3cdd496a6825@mail.gmail.com> Date: Sat, 26 Nov 2005 14:07:39 +0100 Sender: sebastian.kugler@gmail.com To: Marcus Boerger Cc: =?ISO-8859-1?Q?Oliver_Gr=E4tz?= , internals@lists.php.net In-Reply-To: <1845355691.20051126135605@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7.0.0.16.2.20051124161240.0573e640@zend.com> <73998811.20051125204046@marcus-boerger.de> <438782C6.80008@gmail.com> <43878626.5060300@lerdorf.com> <512771162.20051125225926@marcus-boerger.de> <6B.D6.56276.154E7834@pb1.pair.com> <1638013035.20051126122138@marcus-boerger.de> <818043770511260446q14947ceai64c78d146e632b71@mail.gmail.com> <1845355691.20051126135605@marcus-boerger.de> Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there) From: sk@webfactory.de (Sebastian Kugler) Hello Marcus, On 11/26/05, Marcus Boerger wrote: > A lexer splits on tokens while white space is optional. If present it > allows separation of tokens. Forcing this would make whitespace a token > which would be very bad. The parser then works on the tokens and doesn't > see any whitespace. Forcing the use of brackets (instead of whitespaces) only for places where you want to use namespace constants in ternaries is also impossible? > That is no option at all becuase it would make it impossible to write > portable php code. Maybe I get you wrong, but a portable package that uses namespace constants could imo require those who want to use it to set the appropriate config setting. We're talking about future code, right? Since this setting should only be seen as a backwards compatibility switch, people who want to use new packages could then decide to change their code as necessary. Sebastian