You have already completed these exercises!
Do you want to take them again?
You completed the PHP Foreach Loops Exercises from W3Schools.com
Share on:
what will be the output of the following code:$colors = array('red', 'green', 'blue', 'yellow');foreach ($colors as $x) { if ($x == 'green') continue; echo $x;}
$colors = array('red', 'green', 'blue', 'yellow');foreach ($colors as $x) { if ($x == 'green') continue; echo $x;}
redgreenblueyellow
red
redblueyellow