|
Ds\Queue::popRemoves and returns the value at the front of the queue. Beschreibung
public mixed Ds\Queue::pop
( void
)
Removes and returns the value at the front of the queue. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteThe removed value which was at the front of the queue. Fehler/ExceptionsUnderflowException if empty. BeispieleBeispiel #1 Ds\Queue::pop example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: string(1) "a" string(1) "b" string(1) "c" |