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.
精彩评论