differencew between == and === in php
== It will return true if both value are same.
=== It will return true if both value and their datatypes are matched.
Ex.
<?php
if(1.0 == 1)
{
echo 'true';
}
else{
echo 'false';
}
?>