SplQueue::__constructConstructs a new queue implemented using a doubly linked list Description
SplQueue::__construct
( void
)
This constructs a new empty queue.
ParametersThis function has no parameters. Return ValuesNo value is returned. Examples
Example #1 SplQueue::__construct example
<?php The above example will output: 1 2 3 Example #2 Efficiently handling tasks with SplQueue
<?php |