in this code i try to unset first and last item of $status array to unset but the last item that i tried place thier pointer in $end not unset what can I do for thi
array_shift($end); //removes first array_pop($end); //removes last