[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity From: George Schlossnagle (george <email protected>)
Date: 09/30/01

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" <rasmus <email protected>>
> To: "Dean Hall" <hall <email protected>>
> Cc: <php-dev <email protected>>; <engine2 <email protected>>; "Andi Gutmans"
> <andi <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: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>