(PECL ds >= 1.0.0)
A Set is a sequence of unique values. This implementation uses the same hash table as Ds\Map, where values are used as keys and the mapped value is ignored.
版本 | 说明 |
---|---|
PECL ds 1.3.0 | The class now implements ArrayAccess. |
PECL ds 1.2.7 | Added the Ds\Set::map() method. |