PHP - Arrays
What will be the output of the following PHP code?
$arr = ["a" => 1, "b" => 2];
echo $arr["b"];
$arr = ["a" => 1, "b" => 2];
echo $arr["b"];
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions