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