by theoldgreybeard · 1y ago · 0 comments
Most of the time if I want the first or last element I don't care about the array itself so array_shift and array_pop work just fine.