<?php $start = 0; $mix = [1, 2, 3, "A", "B", "C", 4]; for ($i = $start+$mix[$start]; $i < count($mix); $i++){ if (is_numeric($mix[$i])){ echo $mix[$i]; echo "<br>"; } } ?>