Hello guys I want to know... why in this condition my int value enter in ( $var == '') condition??
my php version is 5.6
If you guys can help me find a solution... to not enter is the two conditions.
<?php
$val1 = 0;
$val2 = "0";
var_dump($val1);
echo "<BR>";
var_dump($val2);
echo "<BR>";
echo "<BR>";
echo "<BR>";
if($val1 == ''){
echo "val1 HERE...<BR>"; // condition Enter Here
}
if($val2 == ''){
echo "val2 HERE...<BR>";
}
?>