Just to make this completely clear, in left-associative PHP
b = a==1? 4:a==2? 5:6;
is equivalent to
b = (a==1? 4:a==2)? 5:6;
NO it is not equal. Either '==' has higher precedence OR '?:' has. See one of my previous mails where i showed where the error is.
marcus
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php