$arr = range(1,10);
$i = 0;
foreach($arr as $val)
{
if ($i++ == 4) break;
echo $val;
}
$arr = range(1,10);
$i = 0;
foreach($arr as $val)
{
if ($i++ < 4) continue;
echo $val;
}
for ($i = 0; $i < count($arr); $i++) {
if ($i < 4) continue;
echo $arr[$i];
}