APCIterator::current

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

APCIterator::getTotalCount

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

APCIterator::__construct

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

apc_sma_info

(PECL apc >= 2.0.0) Retrieves APC's Shared Memory Allocation information array apc_sma_info ([ bool $limited = false ] ) Retrieves APC's Shared Memory Allocation information. Parameters: limited When set to FALSE (default) apc_sma_info() will return a detailed information about each segment. Returns: Array of Shared Memory Allocation data;

apc_fetch

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

apc_load_constants

(PECL apc >= 3.0.0) Loads a set of constants from the cache bool apc_load_constants ( string $key [, bool $case_sensitive = true ] ) Loads a set of constants from the cache. Parameters: key The name of the constant set (that was stored with apc_define_constants()) to be retrieved. case_sensitive The default behaviour for constants

apc_inc

(PECL apc >= 3.1.1) Increase a stored number int apc_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 this

apc_store

(PECL apc >= 3.0.0) Cache a variable in the data store bool apc_store ( string $key, mixed $var [, int $ttl = 0 ] ) array apc_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 apc_store() will persist between requests (until the value is removed from the cache). Parameters:

apc_define_constants

(PECL apc >= 3.0.0) Defines a set of constants for retrieval and mass-definition bool apc_define_constants ( string $key, array $constants [, bool $case_sensitive = true ] ) define() is notoriously slow. Since the main benefit of APC is to increase the performance of scripts/applications, this mechanism is provided to streamline the process of mass constant definition. However, this function does not perform as well as

apc_delete_file

(PECL apc >= 3.1.1) Deletes files from the opcode cache mixed apc_delete_file ( mixed $keys ) Deletes the given files from the opcode cache. Parameters: keys The files to be deleted. Accepts a string, array of strings, or an APCIterator object. Returns: Returns TRUE on success or FALSE on failure. Or if keys is an array, then an empty array is