I am not getting what is wrong with this code. It\'s returning \"Found\", which it should not.
$lead = \"418176000000069007\";
$diff = array(\"41817600000006
If that is your problem and you really want to compare/find in array then there is a trick
$lead = "a418176000000069007";
$diff = array("a418176000000069003","a418176000000057001");
if (in_array($lead,$diff))
echo "Found";
else
echo "Not found";
i.e. somehow you have to prepend a perticular character to every number. They will behave as strings in comparison and hence give correct result.