Discussion Forum | Board Infinity

In PHP what is the differences between $a != $b and $a !== $b?

In PHP what is the differences between $a != $b and $a !== $b?

2 Likes

β€œ$a != $b” - Checks if the value of $a is not equal to $b whereas β€œ$a !== $b” - the value as well as data type needs to β€œmatch”.