|
Ds\Vector::getReturns the value at a given index. Beschreibung
public mixed Ds\Vector::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\Vector::get example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: string(1) "a" string(1) "b" string(1) "c" Beispiel #2 Ds\Vector::get example using array syntax
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: string(1) "a" string(1) "b" string(1) "c" |