operators - When to use <> instead of != php -


this question has answer here:

i not know if question have been asked before.

but wondering when should use <> on !=

i know if result equal not know difference between 2 operators

if (1 != 0) {     // true } 

and

if (1 <> 0) {     // true } 

please explain me differences.

they exactly same, manual:

$a != $b not equal true if $a not equal $b after type juggling.

$a <> $b not equal true if $a not equal $b after type juggling.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -