代潇瑞博客

strlen 命令/方法/函数

Description

Get the length of a string value.

返回字符串的长度。


Parameters

key


Return value

INTEGER


Example

$redis->set('key', 'value');

$redis->strlen('key'); /* 5 */

【相关命令】

触屏版 | 电脑版

Copyright © 2013 代潇瑞博客手机版

QQ: 446673330

粤ICP备13071969号-1