php 运算符 && vs AND, || 与或

1 php operators

我刚开始使用 php。我曾经使用ANDandOR但发现了&&and ||,这些运算符有什么区别?

Lan*_*Lan 5

“||” 比“or”有更高的优先级

“&&”比“and”有更高的优先级

从 php 手册,可以在这里阅读全文(Exemple1)