Moves the internal iterator to the specified offset
Parameters
integer
$offset
The offset to seek to.
remove()
remove()
Removes the current element from the list
As SplDoublyLinkedList only allows deleting a particular offset and
incorrectly sets the internal iterator if you delete the current value
this method sets the internal iterator back to the following element
using the seek method.