0

Possible Duplicate:
Reference - What does this symbol mean in PHP?

What does the '<>' mean?

if ($class->stuff <> 'specific') 

Just working on a little project and came across a strange symbol.

Community
  • 1
  • 1
Web Master
  • 4,072
  • 6
  • 19
  • 27

2 Answers2

3

It means:

different

and is equivalent to !=

You can see a table with all comparison operators here

Marcio Mazzucato
  • 8,343
  • 6
  • 62
  • 76
0

Literally, "less than or greater than", meaning "not equal to"

Brian Adkins
  • 683
  • 2
  • 6
  • 13