\", I am seeing for the first time.\"Not equal to,\" like SQL. Exactly the s" />
开发者

What does "<>" mean in this PHP code?

开发者 https://www.devze.com 2023-02-16 07:10 出处:网络
if ($varr <> \'\') {开发者_开发知识库 } I know boolean operators \"||\", \"&&\" \"AND\" \"OR\", but \"<>\", I am seeing for the first time.\"Not equal to,\" like SQL. Exactly the s
if ($varr <> '') {开发者_开发知识库

}

I know boolean operators "||", "&&" "AND" "OR", but "<>", I am seeing for the first time.


"Not equal to," like SQL. Exactly the same operator as !=.

http://php.net/manual/en/language.operators.comparison.php


It means !=. And my answer has to be 30 characters long.


I'm sure it's not equal to, I've always used != in php though :)


Not equal to.

It is a comparison operator.


It is "not equal to", exactly the same as != (i.e. type juggling is attempted if appropriate).

See the manual.

0

精彩评论

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