Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20529 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97721 invoked by uid 1010); 26 Nov 2005 12:46:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97706 invoked from network); 26 Nov 2005 12:46:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 12:46:34 -0000 X-Host-Fingerprint: 66.249.82.194 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.194:47746] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CA/EB-56276-A2958834 for ; Sat, 26 Nov 2005 07:46:34 -0500 Received: by xproxy.gmail.com with SMTP id t10so708403wxc for ; Sat, 26 Nov 2005 04:46:31 -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=qHmNIIafVCFsx7qEwJXlO6Wx35boIAPP6+aa+p5+iGw+M/aAgKy15RwXLvDJpT+q7YEkEiwrgnBoLtrbdYdiX1IXZIWDRfdY7ofF9uNuCmIlP1680jDURFq8ZXNBJKvskhyKPj2PCmOJeAwTLNNVMIFoTIlHzBZNUN3zx5NQjLo= Received: by 10.70.42.3 with SMTP id p3mr8198035wxp; Sat, 26 Nov 2005 04:46:31 -0800 (PST) Received: by 10.70.10.7 with HTTP; Sat, 26 Nov 2005 04:46:31 -0800 (PST) Message-ID: <818043770511260446q14947ceai64c78d146e632b71@mail.gmail.com> Date: Sat, 26 Nov 2005 13:46:31 +0100 Sender: sebastian.kugler@gmail.com To: Marcus Boerger Cc: =?ISO-8859-1?Q?Oliver_Gr=E4tz?= , internals@lists.php.net In-Reply-To: <1638013035.20051126122138@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> <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> <6B.D6.56276.154E7834@pb1.pair.com> <1638013035.20051126122138@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) On 11/26/05, Marcus Boerger wrote: > The only thing that matters is whether i can write a correct > lexer/parser for this without breaking stuff. Im no parser expert at all, so just to be sure that I understand the problem correctly: I guess you can't distinguish at the parser/lexer level between cases where it's ambiguos without white spaces and where it isn't? Alternatively, could you provide a configuration switch to turn the use of namespace constants in the ternary on or off? (So that people who don't use namespace constants but use the ternary without spaces wouldn't need to change all their code?) Personally, as a PHP user, I'd strongly prefer the double colon to the backslash because it's much more self-explaining and nicer. But on the other hand, if there is really no solution for the double colon, anything that gives us namespace support at all is greatly appreciated. Better have namespaces with backslash than not have them at all. Regards, Sebastian