开发者

PHP : Difference between '&&' and 'AND' [duplicate]

This question already has answers here: 开发者_高级运维 Closed 12 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜