Q. What is the result of the following PHP code?
Code:<?php
$colors = array ("Blue", "Black", "Yellow", "Green");
$colors = array_flip($colors);
echo ($colors[0]);
?>
β
Correct Answer: (D)
Error
<?php
$colors = array ("Blue", "Black", "Yellow", "Green");
$colors = array_flip($colors);
echo ($colors[0]);
?>
You must be Logged in to update hint/solution