Where 2 != 2 in PHP

It may possible one of your variable is of type string and other is integer. 2!=2 this will return false So your code will execute else block.

Leave a Comment