Simplify array_splice()