,因为php.net上面的链接文档又说了'Operator precedence and associativity only determine how expressions are grouped, they do not specify an order of evaluation. PHP does not (in the general case) specify in which order an expression is evaluated and code that assumes a specific order of evaluation should be avoided, because the behavior can change between versions of PHP or depending on the surrounding code.',翻译一下就是说:运算符的优先级和结合性只是决定了表达式如何分组,却没有指定代码被如何解析执行。。。,所以这里的if条件并不能完全按照运算符的优先级和结合性来判断代码如何解析执行。
关注“PHP技术大全”微信公众号(phpgod),拿起手机,打开微信,轻松一扫下面的二维码,每天成长一点,成就大神就不远。
你以为