Source Code:
(back to article)
<?php $colors = array("red", "green", "blue"); while ($color = array_shift($colors)) { echo $color . "\n"; }
Result:
Report an issue