What is the difference between (int) and intval() in php?
Here below i asked my doubt. Anyone please clear my doubt.
$a = 11.05;
$b = (int)$a;
$c = intval($a);
echo "<br /> a :".$a;
echo "<br /> b :".$b;
echo "<br /> c :".$c;
Now both $b and $c given same result.
what is the difference between the result $b and $c?