Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity
| From: | George Schlossnagle | Date: | Mon, 01 Oct 2001 02:44:28 +0000 |
| Subject: | Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66891@lists.php.net to get a copy of this message | ||
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@php.net> To: "Dean Hall" <hall@apt7.com> Cc: <php-dev@lists.php.net>; <engine2@lists.zend.com>; "Andi Gutmans" <andi@zend.com> Sent: Sunday, September 30, 2001 08.02pm Subject: Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguityGotcha. So why would this not work? $test?FOO:{BAR:BARBARA} or $test?{FOO:BAR}:BARBARA Dean.Anyway, if I'm not seeing the real ambiguity here, let me know.The ternary in question is expr ? val1 : val2