1 2 3 4 5 6 7 8
<?php foreach($array as $x) { echo $x; } ?>
1 2
Warning: Invalid argument supplied for foreach() on line 3