PHP : Difference between '&&' and 'AND'

Possible Duplicate:
PHP - and / or keywords

Dear All,

I would like to get clear in mind about conditional operators in php. Please clarify me what is the difference between '&&' and 'AND' in php?

Thanks in Advance


They do the same thing, but && has higher precedence than AND .

http://php.net/manual/en/language.operators.precedence.php

链接地址: http://www.djcxy.com/p/57628.html

上一篇: PHP简写逻辑运算符AND和OR

下一篇: PHP:'&&'和'AND'之间的区别