You can, delete $array[$index] as long as you note that all delete does is set that array position to an uninitialized state, but leaves the other elements in the array in their current positions (same amount of elements in the array but now one is unintialized). Unless, it is the last element that you deleted.