标签:
<?php}
<----------------------------------------------------------->
调用类
<?php
include_once ‘memcache.php‘; 引入类文件
$key = ‘myKey‘;
$value = ‘insert into 12334234‘;
$time = 60;
Memcacheds::setMen($key,$value,$time); //写入缓存
$get = Memcacheds::getMen($key); //读取
echo ‘<pre>‘;
print_r($get);
?>
结果输出:
insert into 12334234
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:
原文地址:http://blog.csdn.net/ricky_sky/article/details/46928993