Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9193 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 656 invoked by uid 1010); 15 Apr 2004 16:18:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 587 invoked from network); 15 Apr 2004 16:18:10 -0000 Received: from unknown (HELO milton.schell.de) (217.160.72.35) by pb1.pair.com with SMTP; 15 Apr 2004 16:18:10 -0000 Received: (qmail 6907 invoked by uid 501); 15 Apr 2004 16:18:09 -0000 Received: from unknown (HELO fragrance) (217.160.72.104) by kdserv.de with SMTP; 15 Apr 2004 16:18:09 -0000 Date: Thu, 15 Apr 2004 18:18:09 +0200 (CEST) X-X-Sender: sas@fragrance To: Ilia Alshanetsky cc: internals@lists.php.net In-Reply-To: <200404151201.30381.ilia@prohost.org> Message-ID: References: <5.1.0.14.0.20040415111759.00b77c18@mail.ionzoft.com> <200404151201.30381.ilia@prohost.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Construct Request From: sascha@schumann.cx (Sascha Schumann) That is basically the same idea once proposed as extending the ternary operator (credit goes to GCC and its C extension). $bar ? : $baz; If $bar evaluates to true, the expression evaluates to $bar or to 0, respectively. - Sascha