|
Ds\Sequence::shiftRemoves and returns the first value Description
abstract public mixed Ds\Sequence::shift()
Removes and returns the first value. ParametersThis function has no parameters. Return ValuesThe first value, which was removed. Errors/ExceptionsUnderflowException if empty. ExamplesExample #1 Ds\Sequence::shift example
The above example will output something similar to: string(1) "a" string(1) "b" string(1) "c" |