+ 4
What difference between <> and !=? can someone help?
8 Antworten
+ 5
no differents
+ 3
On most implementations they are the same. But in older php implementations <> has higher precedence over !=
+ 1
'<>' === '!=' :)
0
They are the same. I was wondering the same question and did some research which confirmed they are the same thing, just different way of writing it.
0
In fact there's no different between '<>' and '!=' it, either means "not equal".
0
the operator a equal
0
Literally, you could read it as "less than or greater than".
0
There is no difference, both are not equal to operators.