PHP - Arrays
What will be the output of this PHP code?
$colors = ['red', 'green', 'blue'];
echo $colors[1];
$colors = ['red', 'green', 'blue'];
echo $colors[1];
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions