PHP - Type Handling
What will be the output of the following PHP code?
$var = '15.7abc';
settype($var, 'float');
echo $var;
$var = '15.7abc';
settype($var, 'float');
echo $var;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions