What does the following code do? A link to something in the PHP manual would also be nice.
if ($_SERVER['SERVER_PORT'] <> 443) { doSomething(); } Same as !=, "Not equal"
false <> true // operator will evaluate expression as true false != true // operator will evaluate expression as true Here is some reference: PHP Comparison Operators
It's another way of saying "not equal to" (the != operator). I think of it as the "less than or greater than" operator which really just means "not equal to".
Note that <> behaves as != even where < and > are not obvious comparison operators (eg $str1 <> $str2).