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