This is a collection of questions that come up every now and then about syntax in PHP. This is also a Community Wiki, so everyone is invited to participate in maintaining this list.
It used to be hard to find questions about operators and other syntax tokens.¹
The main idea is to have links to existing questions on Stack Overflow, so it's easier for us to reference them, not to copy over content from …
是&&一样的"和",是||一样的PHP"或"?
我做了一些测试,看起来它们表现得一样.有什么不同吗?
如果没有,是否有任何其他PHP标志具有单词等价物,你认为它使代码更容易阅读?