What will be the output of the following PHP code ?
<?php
function colour()
{
$colors = array("red", "green", "blue", "yellow");
foreach ($colors as $value)
{
echo "$value <br>";
}
}
colour();
?>
- red
green
blue
yellow
- green blue yellow red
- red blue yellow green
- red green yellow blue
(a).red
need an explanation for this answer? contact us directly to get an explanation for this answergreen
blue
yellow