APCUIterator::getTotalCount

(PECL apcu >= 5.0.0) Get total count public int APCUIterator::getTotalCount ( void ) Get the total count. Returns: The total count. This function is currently not documented; only its argument list is available. See also: APCUIterator::getTotalHits() -

APCUIterator::current

(PECL apcu >= 5.0.0) Get current item public mixed APCUIterator::current ( void ) Gets the current item from the APCUIterator stack. Returns: Returns the current item on success, or FALSE if no more items or exist, or on failure. See also: APCUIterator::next() - Iterator::current()

apcu_store

(PECL apcu >= 4.0.0) Cache a variable in the data store bool apcu_store ( string $key, mixed $var [, int $ttl = 0 ] ) array apcu_store ( array $values [, mixed $unused = NULL [, int $ttl = 0 ]] ) Cache a variable in the data store. Note: Unlike many other mechanisms in PHP, variables stored using apcu_store() will persist between requests (until the value is removed from the cache). Parameters:

apcu_sma_info

(PECL apcu >= 4.0.0) Retrieves APCu Shared Memory Allocation information array apcu_sma_info ([ bool $limited = false ] ) Retrieves APCu Shared Memory Allocation information. Parameters: limited When set to FALSE (default) apcu_sma_info() will return a detailed information about each segment. Returns: Array of Shared Memory Allocation data;

apcu_inc

(PECL apcu >= 4.0.0) Increase a stored number int apcu_inc ( string $key [, int $step = 1 [, bool &$success ]] ) Increases a stored number. Parameters: key The key of the value being increased. step The step, or value to increase. success Optionally pass the success or fail boolean value to th

apcu_fetch

(PECL apcu >= 4.0.0) Fetch a stored variable from the cache mixed apcu_fetch ( mixed $key [, bool &$success ] ) Fetchs an entry from the cache. Parameters: key The key used to store the value (with apcu_store()). If an array is passed then each element is fetched and returned. success Set to TRUE in success and FALSE in failure

apcu_entry

(PECL apcu >= 5.1.0) Atomically fetch or generate a cache entry mixed apcu_entry ( string $key, callable $generator [, int $ttl = 0 ] ) Atomically attempts to find key in the cache, if it cannot be found generator is called, passing key as the only argument. The return value of the call is then cached with the optionally specified ttl, and returned. Note: When control enters apcu_entry() the lock for the cache is acq

apcu_dec

(PECL apcu >= 4.0.0) Decrease a stored number int apcu_dec ( string $key [, int $step = 1 [, bool &$success ]] ) Decreases a stored integer value. Parameters: key The key of the value being decreased. step The step, or value to decrease. success Optionally pass the success or fail boolean valu

apcu_delete

(PECL apcu >= 4.0.0) Removes a stored variable from the cache mixed apcu_delete ( string $key ) Removes a stored variable from the cache. Parameters: key The key used to store the value (with apcu_store()). Returns: Returns TRUE on success or FALSE on failure. Examples: A apcu_de

apcu_cas

(PECL apcu >= 4.0.0) Updates an old value with a new value bool apcu_cas ( string $key, int $old, int $new ) apcu_cas() updates an already existing integer value if the old parameter matches the currently stored value with the value of the new parameter. Parameters: key The key of the value being updated. old The old value (the value