Simple storage and retrieval
suggest changeThis requires the APCu extension. apcu_store stores a value, and apcu_fetch retrieves it:
$key = 'Hello';
$value = 'World';
apcu_store($key, $value);
print(apcu_fetch('Hello')); // 'World'
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents