PHP » GoLang |
login |
register |
about
|
GoLang SplDoublyLinkedList::__construct
request it (565)
GoLang replacement for PHP's SplDoublyLinkedList::__construct
[edit | history]
PHP SplDoublyLinkedList::__constructPHP original manual for SplDoublyLinkedList::__construct [ show | php.net ]SplDoublyLinkedList::__construct(PHP 5 >= 5.3.0, PHP 7) SplDoublyLinkedList::__construct — Constructs a new doubly linked list Description
public SplDoublyLinkedList::__construct
( void
)
This constructs a new empty doubly linked list. ParametersThis function has no parameters. Return ValuesNo value is returned. Examples
Example #1 SplDoublyLinkedList::__construct() example
<?phpThe above example will output:
object(SplDoublyLinkedList)#1 (2) {
["flags":"SplDoublyLinkedList":private]=>
int(0)
["dllist":"SplDoublyLinkedList":private]=>
array(3) {
[0]=>
int(5)
[1]=>
int(2)
[2]=>
int(3)
}
}
|
more
Most requested
more
Last requests
|