SplStack::__constructConstructs a new stack implemented using a doubly linked list Beschreibung
SplStack::__construct
( void
)
This constructs a new empty stack.
Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteEs wird kein Wert zurückgegeben. Beispiele
Beispiel #1 SplStack::__construct example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 3 2 1 |