<?php $arr = ["aaa" => 1, "bbb" => 2, "ccc" => 3]; foreach(array_slice($arr,0,-1) as $val){ echo $val; }
You have javascript disabled. You will not be able to edit any code.