Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14877 invoked by uid 1010); 15 Apr 2004 20:21:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14732 invoked from network); 15 Apr 2004 20:21:25 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 15 Apr 2004 20:21:25 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id 3507714880BD; Thu, 15 Apr 2004 13:21:24 -0700 (PDT) Received: from tron (zaneeb.thebrainroom.net [82.133.1.138]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx.thebrainroom.net (Postfix) with SMTP id 0D6B514880B7; Thu, 15 Apr 2004 13:21:20 -0700 (PDT) Message-ID: <048c01c42327$4d750d70$8a02a8c0@tron> To: , "Sascha Schumann" Cc: "Ilia Alshanetsky" , References: <5.1.0.14.0.20040415111759.00b77c18@mail.ionzoft.com> <200404151201.30381.ilia@prohost.org> <407EE6EF.2070302@php.net> Date: Thu, 15 Apr 2004 21:21:55 +0100 Organization: The Brain Room Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_30,QUOTED_EMAIL_TEXT,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] Construct Request From: wez@thebrainroom.com ("Wez Furlong") +1 for the GCC style syntax. --Wez. ----- Original Message ----- From: "Hartmut Holzgraefe" To: "Sascha Schumann" Cc: "Ilia Alshanetsky" ; Sent: Thursday, April 15, 2004 8:47 PM Subject: Re: [PHP-DEV] Construct Request > Sascha Schumann wrote: > > That is basically the same idea once proposed as extending > > the ternary operator (credit goes to GCC and its C extension). > > > > $bar ? : $baz; > > yes, that looks like the way it should look like, > and the danger of newbees abusing it would be way lower > than with a function ... ;)