The point is that while those are both valid

$test?FOO:BAR:BARBARA

is ambiguous in that it could refer to either of those.

On Sunday, September 30, 2001, at 10:25 PM, Dean Hall wrote:

>
> ----- Original Message -----
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Dean Hall" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Andi Gutmans"
> <[EMAIL PROTECTED]>
> Sent: Sunday, September 30, 2001 08.02pm
> Subject: Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity
>
>
>>> Anyway, if I'm not seeing the real ambiguity here, let me know.
>>
>> The ternary in question is expr ? val1 : val2
>
> Gotcha.
>
> So why would this not work?
>
> $test?FOO:{BAR:BARBARA}
>
> or
>
> $test?{FOO:BAR}:BARBARA
>
> Dean.
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to