合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
# cache\_get() ## cache\_get() ``` <pre class="calibre11">``` cache_get($k, $c = NULL) ``` ``` #### 【功能】 获取键值,成功返回设置的值,失败返回 FALSE。 #### 【参数】 ``` <pre class="calibre11">``` $k:键 $c:$cache 实例,一般可以省略,使用配置文件指定的参数实例化的实例 ``` ``` #### 【用例】 ``` <pre class="calibre11">``` <?php $conf = include './conf.php'; include './xiunophp/xiunophp.php'; cache_set('key1', 'value1'); $v = cache_get('key1'); echo $v; ?> ``` ```