PHP : Difference between '&&' and 'AND' [duplicate]
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
精彩评论