簡單的儲存和檢索
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'