Re: Construct Request
| From: | Sascha Schumann | Date: | Thu, 15 Apr 2004 16:18:09 +0000 |
| Subject: | Re: Construct Request | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9193@lists.php.net to get a copy of this message | ||
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