RE: [PHP-DEV] Construct Request

From: Date: Thu, 15 Apr 2004 18:12:53 +0000
Subject: RE: [PHP-DEV] Construct Request
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9204@lists.php.net to get a copy of this message
+1 -----Original Message----- From: Sean Coates [mailto:sean@caedmon.net] Sent: Thursday, April 15, 2004 12:10 PM To: Sascha Schumann Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Construct Request Is there a good reason to NOT implement this? If not, I'm +1 on that (if I carry ANY weight at all (-: ) BC isn't an issue, and it would be a very useful feature, IMHO.. S 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; > > If $bar evaluates to true, the expression evaluates to $bar > or to 0, respectively. > > - Sascha > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.internals (#9204) next »