+1 for the GCC style syntax.

--Wez.

----- Original Message ----- 
From: "Hartmut Holzgraefe" <[EMAIL PROTECTED]>
To: "Sascha Schumann" <[EMAIL PROTECTED]>
Cc: "Ilia Alshanetsky" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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 ... ;)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to