Description
Set the string value in argument as value of the key.
设置值到KEY
Parameters
Key
Value
Timeout (optional). Calling SETEX is preferred if you want a timeout.
Return value
Bool TRUE if the command is successful.
Examples
$redis->set('key', 'value');