$locking
$locking : boolean
Does hash table provide locking? (@since 1.1.0)
Implementation of HashTable for a VFS backend.
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.