$locking
$locking : boolean
Does hash table provide locking? (@since 1.1.0)
The Horde_HashTable class provides an API to interact with various hash table implementations.
set(string $key, string $val, array $opts = array()) : boolean
Set the value of a key.
string | $key | The key. |
string | $val | The string to store. |
array | $opts | Additional options: - expire: (integer) Expiration time in seconds. DEFAULT: Doesn't expire. - replace: (boolean) Replace the value of key. If key doesn't exist, returns false. DEFAULT: false |
True on success, false on error.