What difference between <> and !=? can someone help? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What difference between <> and !=? can someone help?

16th Feb 2016, 9:55 PM
Igor Kuzmenko
Igor Kuzmenko - avatar
8 Answers
+ 5
no differents
13th Jun 2016, 8:18 AM
Mohammad Nur
Mohammad  Nur - avatar
+ 3
On most implementations they are the same. But in older php implementations <> has higher precedence over !=
1st Jul 2016, 9:10 AM
Midhun Mathew
+ 1
'<>' === '!=' :)
19th Apr 2016, 12:14 AM
Pratul Kumar Singh
Pratul Kumar Singh - avatar
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.
26th Feb 2016, 9:58 PM
LobsterBaz
LobsterBaz - avatar
0
In fact there's no different between '<>' and '!=' it, either means "not equal".
14th Mar 2016, 6:19 AM
Javad Noori
Javad Noori - avatar
0
the operator a equal
13th Jun 2016, 10:46 AM
ilandio belinho
0
Literally, you could read it as "less than or greater than".
21st Jun 2016, 7:43 PM
JLo
0
There is no difference, both are not equal to operators.
26th Oct 2016, 6:24 PM
Mathew Korir
Mathew Korir - avatar