<?php
$myArray = array("A","B","C","D","E","F","I","G","H");
for($i=0; $i<count($myArray ); $i++){
echo 'i = ' . $i . "\n";
echo 'count($myArray) = ' . count($myArray) . "\n";
var_dump($myArray );
//...Remove the first Element of this array while $i is less than it's length.
array_shift($myArray);
}