PHP - Variables and Data Types
What will be the output of the following PHP code?
$a = 0;
$b = (bool)$a;
echo $b ? 'True' : 'False';
$a = 0;
$b = (bool)$a;
echo $b ? 'True' : 'False';
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions