apc_cache_info

(PECL apc >= 2.0.0) Retrieves cached information from APC's data store array apc_cache_info ([ string $cache_type = "" [, bool $limited = false ]] ) Retrieves cached information and meta-data from APC's data store. Parameters: cache_type If cache_type is "user", information about the user cache will be returned. If cache_type is "filehits", information about whic

apc_cas

(PECL apc >= 3.1.1) Updates an old value with a new value bool apc_cas ( string $key, int $old, int $new ) apc_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 cu

apc_clear_cache

(PECL apc >= 2.0.0) Clears the APC cache bool apc_clear_cache ([ string $cache_type = "" ] ) Clears the user/system cache. Parameters: cache_type If cache_type is "user", the user cache will be cleared; otherwise, the system cache (cached files) will be cleared. Returns: Returns TRUE always

apc_compile_file

(PECL apc >= 3.0.13) Stores a file in the bytecode cache, bypassing all filters. mixed apc_compile_file ( string $filename [, bool $atomic = true ] ) Stores a file in the bytecode cache, bypassing all filters. Parameters: filename Full or relative path to a PHP file that will be compiled and stored in the bytecode cache. Returns: Returns TR

apc_dec

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

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

apc_delete

(PECL apc >= 3.0.0) Removes a stored variable from the cache mixed apc_delete ( string $key ) Removes a stored variable from the cache. Parameters: key The key used to store the value (with apc_store()). Returns: Returns TRUE on success or FALSE on failure. Examples: A apc_delete

apc_exists

(PECL apc >= 3.1.4) Checks if APC key exists mixed apc_exists ( mixed $keys ) Checks if one or more APC keys 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 an em

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