Source Code:
(back to article)
<?php $myArray = ["apple", "banana", "cherry"]; $i = 0; while ($i < count($myArray)) { echo $myArray[$i] . PHP_EOL; $i++; }
Result:
Report an issue