(PHP 5 >= 5.3.0, PHP 7)
  	
    
      
      Shifts a node from the beginning of the doubly linked list
    
    
      
      public mixed SplDoublyLinkedList::shift ( void )
    
    
    
      
      
    
      Returns: 
    The value of the shifted node.
Exception: 
    
    Throws RuntimeException when the data-structure is empty.
Please login to continue.