On Thu, 8 Jul 2004, Marc Richards wrote:

> Are you saying PHP will never introduce an operator that doesn't already
> exist in a large number of other languages?

I certainly hope not. (Well, I guess === and !=== are exceptions to
this statement.)

> Compound Ternary operator:
>
> $a = $b ?: $c;

You realize that ternary means it takes three arguments? It has
nothing to do with question marks and colons. Your new "compound
ternary" operator is really a "binary" operator.

-adam

-- 
[EMAIL PROTECTED]
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!

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

Reply via email to