array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'spldoublylinkedlist.shift.php', 1 => 'SplDoublyLinkedList::shift', ), 'up' => array ( 0 => 'class.spldoublylinkedlist.php', 1 => 'SplDoublyLinkedList', ), 'prev' => array ( 0 => 'spldoublylinkedlist.setiteratormode.php', 1 => 'SplDoublyLinkedList::setIteratorMode', ), 'next' => array ( 0 => 'spldoublylinkedlist.top.php', 1 => 'SplDoublyLinkedList::top', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/spl/spldoublylinkedlist/shift.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplDoublyLinkedList::shift — Quita un nodo del inicio de la lista doblemente enlazada
Esta función no tiene parámetros.
El valor del nodo a quitar.
Lanza una RuntimeException cuando la estructura de datos está vacía.