array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'class.ds-set.php', 1 => 'Ds\\Set', ), 'up' => array ( 0 => 'book.ds.php', 1 => 'Data Structures', ), 'prev' => array ( 0 => 'ds-pair.toarray.php', 1 => 'Ds\\Pair::toArray', ), 'next' => array ( 0 => 'ds-set.add.php', 1 => 'Ds\\Set::add', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ds/ds.set.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.ds-set.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(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.