|
Ds\Deque::getReturns the value at a given index. Beschreibung
public mixed Ds\Deque::get
( int
$index
)Returns the value at a given index. Parameter-Liste
RückgabewerteThe value at the requested index. Fehler/ExceptionsOutOfRangeException if the index is not valid. BeispieleBeispiel #1 Ds\Deque::get example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: string(1) "a" string(1) "b" string(1) "c" Beispiel #2 Ds\Deque::get example using array syntax
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: string(1) "a" string(1) "b" string(1) "c" |