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

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

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::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::getTotalHits

(PECL apcu >= 5.0.0) Get total cache hits public int APCUIterator::getTotalHits ( void ) Gets the total number of cache hits. Returns: The number of hits on success, or FALSE on failure. This function is currently not documented; only its argument list is available. See also:

APCUIterator::getTotalSize

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