I am not getting what is wrong with this code. It\'s returning \"Found\", which it should not.
$lead = \"418176000000069007\";
$diff = array(\"41817600000006
If the third parameter strict is set to TRUE then the in_array()
function will also check the types of the needle in the haystack, and because the limit is beyond the maximum integer value.
So if PHP encounters a number beyond the bounds of the integer type, it will be interpreted as a float instead. Also, an operation which results in a number beyond the bounds of the integer type will return a float instead. Check the PHP manuals.
if (in_array($lead,$diff,true))