In php difference between != and <> | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

In php difference between != and <>

Both are not equal then what is their use

16th May 2020, 5:13 PM
Abhay
Abhay - avatar
2 ответов
+ 1
<> and !=are just synonyms. That means they are completely interchangeable. The history of php is a bit wild, so naming conventions, even to the point of how operators are to be called, were and still are not really unified. In conclusion, one's old and one's new.
16th May 2020, 5:19 PM
Jella
Jella - avatar
+ 1
16th May 2020, 5:20 PM
Abhay
Abhay - avatar