stop foreach after first iteration php code example Example: foreach skip first php foreach(array_slice($arr,1) as $key=>$value) { echo $value; }