|
Ds\Map::skipReturns the pair at a given positional index. Beschreibung
public Ds\Pair Ds\Map::skip
( int
$position
)
Returns the pair at a given zero-based Parameter-Liste
Rückgabewerte
Returns the Ds\Pair at the given Fehler/ExceptionsOutOfRangeException if the position is not valid. BeispieleBeispiel #1 Ds\Map::skip example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
object(Ds\Pair)#2 (2) {
["key"]=>
string(1) "b"
["value"]=>
int(2)
}
|