代潇瑞博客

get 命令/方法/函数

Description

Get the value related to the specified key

取得与指定的键值相关联的值


Parameters

key


Return Value

String or Bool: If key didn't exist, FALSE is returned. Otherwise, the value related to this key is returned.

返回相关值或者BOOL值,如果KEY不存在,返回FALSE。如果有相关的KEY和值返回值。


Examples

$redis->get('key');

【相关命令】

触屏版 | 电脑版

Copyright © 2013 代潇瑞博客手机版

QQ: 446673330

粤ICP备13071969号-1