PHP - Type Handling
What will be the output of this PHP code?
$arr = ['a' => 0, 'b' => null];
echo empty($arr['a']) ? 'Empty' : 'Not Empty';
$arr = ['a' => 0, 'b' => null];
echo empty($arr['a']) ? 'Empty' : 'Not Empty';
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions