PHP operator <> [duplicate] PHP operator <> [duplicate] php php

PHP operator <> [duplicate]


Same as !=, "Not equal"

false <> true // operator will evaluate expression as truefalse != 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".