|
Ds\Deque::removeRemoves and returns a value by index Description
public mixed Ds\Deque::remove(int
$index )Removes and returns a value by index. Parameters
Return ValuesThe value that was removed. Errors/ExceptionsOutOfRangeException if the index is not valid. ExamplesExample #1 Ds\Deque::remove example
The above example will output something similar to: string(1) "b" string(1) "a" string(1) "c" |