Ds\Map::slice
Ds\Map::slice
(PECL ds >= 1.0.0)
Ds\Map::slice — Returns a subset of the map defined by a starting index and length.
Description
public Ds\Map Ds\Map::slice ( int $index [, int $length ] )
Returns a subset of the map defined by a starting index
and length
.
Parameters
-
index
-
The index at which the range starts.
If positive, the range will start at that index in the map. If