strlen
From PHP Redis
strlen
Description
Get the length of a string value.
返回字符串的长度。
Parameters
key
Return value
INTEGER
Example
$redis->set('key', 'value');
$redis->strlen('key'); /* 5 */
From PHP Redis
Get the length of a string value.
返回字符串的长度。
key
INTEGER
$redis->set('key', 'value');
$redis->strlen('key'); /* 5 */