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,240
  • 6
  • 20
  • 28

2 Answers2

3

It means:

different

and is equivalent to !=

You can see a table with all comparison operators here

Marcio Mazzucato
  • 8,841
  • 9
  • 64
  • 79
0

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

Brian Adkins
  • 657
  • 2
  • 6
  • 13