简单的存储和检索
apcu_store
可用于存储, apcu_fetch
可用于检索值:
$key = 'Hello';
$value = 'World';
apcu_store($key, $value);
print(apcu_fetch('Hello')); // 'World'
apcu_store
可用于存储, apcu_fetch
可用于检索值:
$key = 'Hello';
$value = 'World';
apcu_store($key, $value);
print(apcu_fetch('Hello')); // 'World'