QuickHashIntHash::add

(PECL quickhash >= Unknown)

QuickHashIntHash::add — This method adds a new entry to the hash

Beschreibung

publicboolQuickHashIntHash::add
( int$key
[, int$value
] )

This method adds a new entry to the hash, and returns whether the entry was
added. Entries are by default always added unless
QuickHashIntHash::CHECK_FOR_DUPES has been passed when the hash was created.

Parameter-Liste

key

The key of the entry to add.

value

The optional value of the entry to add. If no value is specified,
1 will be used.