PHP's <> operator
This question already has an answer here:
As NikiC notes, <> and != are the same and have the same precedence. My earlier answer was based on what appears to be a bug in the documentation which has now been corrected.
That would be correct. It's pretty universal between languages. I usually use that method in my SQL Server queries/stored procedures.
PHP: Comparison Operators
是的,它和!=
相同(参见手册)。
上一篇: 之间有什么区别
下一篇: PHP的<>运算符