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()

APCUIterator::__construct

(PECL apcu >= 5.0.0) Constructs an APCUIterator iterator object public APCUIterator::__construct ([ mixed $search = null [, int $format = APC_ITER_ALL [, int $chunk_size = 100 [, int $list = APC_LIST_ACTIVE ]]]] ) Constructs an APCUIterator object. Parameters: cache The cache type, which will be user or file. search A PCRE regula

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_exists

(PECL apcu >= 4.0.0) Checks if entry exists mixed apcu_exists ( mixed $keys ) Checks if one or more APCu entries exist. Parameters: keys A string, or an array of strings, that contain keys. Returns: Returns TRUE if the key exists, otherwise FALSE Or if an array was passed to keys, then an array is returned that contains all existing keys, or a

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_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_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