在线文档教程
PHP
SPL

SplDoublyLinkedList::push

SplDoublyLinkedList::push

(PHP 5 >= 5.3.0, PHP 7)

SplDoublyLinkedList::push — Pushes an element at the end of the doubly linked list

Description

public void SplDoublyLinkedList::push ( mixed $value )

Pushes value at the end of the doubly linked list.

Parameters

value

The value to push.

Return Values

No value is returned.

← SplDoublyLinkedList::prev

SplDoublyLinkedList::rewind →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/spldoublylinkedlist.push.php