PHP » GoLang |
login |
register |
about
|
apcu_entry(PECL apcu >= 5.1.0) apcu_entry — Atomically fetch or generate a cache entry Description
Atomically attempts to find
Warning
The only APCu function that can be called safely by Parameters
Return ValuesReturns the cached value Examples
Example #1 An apcu_entry() example
<?php The above example will output: array(2) { ["fruit"]=> array(2) { [0]=> string(6) "apples" [1]=> string(5) "pears" } ["people"]=> array(3) { [0]=> string(3) "bob" [1]=> string(3) "joe" [2]=> string(4) "niki" } } See Also
|
more
Recently updated
more
Most requested
more
Last requests
|