* Retrieves information about files cached in the file cache * @link https://secure.php.net/manual/en/function.wincache-fcache-fileinfo.php * @param bool $summaryonly [optional] *

Controls whether the returned array will contain information about individual * cache entries along with the file cache summary.

* @return array|false Array of meta data about file cache or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_fcache_fileinfo($summaryonly = false) {} /** * (PHP 5.2+; PECL wincache >= 1.0.0)
* Retrieves information about memory usage by file cache. * @link https://secure.php.net/manual/en/function.wincache-fcache-meminfo.php * @return array|false Array of meta data about file cache memory usage or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_fcache_meminfo() {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Obtains an exclusive lock on a given key. *

The execution of the current script will be blocked until the lock can be * obtained. Once the lock is obtained, the other scripts that try to request the * lock by using the same key will be blocked, until the current script releases * the lock by using wincache_unlock().

* @link https://secure.php.net/manual/en/function.wincache-lock.php * @param string $key Name of the key in the cache to get the lock on. * @param bool $isglobal [optional] *

Controls whether the scope of the lock is system-wide or local. Local locks * are scoped to the application pool in IIS FastCGI case or to all php processes * that have the same parent process identifier.

* @return bool Returns TRUE on success or FALSE on failure. */ function wincache_lock($key, $isglobal = false) {} /** * (PHP 5.2+; PECL wincache >= 1.0.0)
* Retrieves information about opcode cache content and its usage * @link https://secure.php.net/manual/en/function.wincache-ocache-fileinfo.php * @param bool $summaryonly [optional] *

Controls whether the returned array will contain information about individual * cache entries along with the opcode cache summary.

* @return array|false Array of meta data about opcode cache or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_ocache_fileinfo($summaryonly = false) {} /** * (PHP 5.2+; PECL wincache >= 1.0.0)
* Retrieves information about memory usage by opcode cache. * @link https://secure.php.net/manual/en/function.wincache-ocache-meminfo.php * @return array|false Array of meta data about opcode cache memory usage or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_ocache_meminfo() {} /** * (PHP 5.2+; PECL wincache >= 1.0.0)
* Refreshes the cache entries for the files, whose names were passed in the input argument. *

If no argument is specified then refreshes all the entries in the cache.

* @link https://secure.php.net/manual/en/function.wincache-refresh-if-changed.php * @param array $files [optional] *

An array of file names for files that need to be refreshed. An absolute * or relative file paths can be used.

* @return bool Returns TRUE on success or FALSE on failure. */ function wincache_refresh_if_changed(array $files) {} /** * (PHP 5.2+; PECL wincache >= 1.0.0)
* Retrieves information about cached mappings between relative file paths and * corresponding absolute file paths. * @link https://secure.php.net/manual/en/function.wincache-rplist-fileinfo.php * @return array|false Array of meta data about the resolve file path cache or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_rplist_fileinfo() {} /** * (PHP 5.2+; PECL wincache >= 1.0.0)
* Retrieves information about memory usage by resolve file path cache. * @link https://secure.php.net/manual/en/function.wincache-rplist-meminfo.php * @return array|false Array of meta data that describes memory usage by resolve file path cache. or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_rplist_meminfo() {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Retrieves information about session cache content and its usage. * @link https://secure.php.net/manual/en/function.wincache-scache-info.php * @param bool $summaryonly [optional] *

Controls whether the returned array will contain information about individual * cache entries along with the session cache summary.

* @return array|false Array of meta data about session cache or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_scache_info($summaryonly = false) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Retrieves information about memory usage by session cache. * @link https://secure.php.net/manual/en/function.wincache-scache-meminfo.php * @return array|false Array of meta data about session cache memory usage or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_scache_meminfo() {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Adds a variable in user cache, only if this variable doesn't already exist in the cache. *

The added variable remains in the user cache unless its time to live expires * or it is deleted by using wincache_ucache_delete() or wincache_ucache_clear() functions.

* @link https://secure.php.net/manual/en/function.wincache-ucache-add.php * @param string $key

Store the variable using this key name. If a variable with * same key is already present the function will fail and return FALSE. key is case * sensitive. To override the value even if key is present use wincache_ucache_set() * function instad. key can also take array of name => value pairs where names will * be used as keys. This can be used to add multiple values in the cache in one * operation, thus avoiding race condition.

* @param mixed $value

Value of a variable to store. Value supports all data * types except resources, such as file handles. This parameter is ignored if * first argument is an array. A general guidance is to pass NULL as value while * using array as key.

* @param int $ttl [optional] *

Time for the variable to live in the cache in seconds. After the value * specified in ttl has passed the stored variable will be deleted from the * cache. This parameter takes a default value of 0 which means the variable * will stay in the cache unless explicitly deleted by using wincache_ucache_delete() * or wincache_ucache_clear() functions.

* @return bool If key is string, the function returns TRUE on success and FALSE on failure. *

If key is an array, the function returns: *

*/ function wincache_ucache_add($key, $value, $ttl = 0) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Compares the variable associated with the key with old_value * and if it matches then assigns the new_value to it. * @link https://secure.php.net/manual/en/function.wincache-ucache-cas.php * @param string $key The key that is used to store the variable in the cache. key is case sensitive. * @param int $old_value Old value of the variable pointed by key in the user cache. * The value should be of type long, otherwise the function returns FALSE. * @param int $new_value New value which will get assigned to variable pointer by key * if a match is found. The value should be of type long, otherwise the function returns FALSE. * @return bool Returns TRUE on success or FALSE on failure. */ function wincache_ucache_cas($key, $old_value, $new_value) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Clears/deletes all the values stored in the user cache. * @link https://secure.php.net/manual/en/function.wincache-ucache-clear.php * @return bool Returns TRUE on success or FALSE on failure. */ function wincache_ucache_clear() {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Decrements the value associated with the key by 1 or as specified by dec_by. * @link https://secure.php.net/manual/en/function.wincache-ucache-dec.php * @param string $key

The key that was used to store the variable in the cache. * key is case sensitive.

* @param int $dec_by

The value by which the variable associated with the key will * get decremented. If the argument is a floating point number it will be truncated * to nearest integer. The variable associated with the key should be of type long, * otherwise the function fails and returns FALSE.

* @param bool|null &$success [optional] *

Will be set to TRUE on success and FALSE on failure.

* @return int|false Returns the decremented value on success and FALSE on failure. */ function wincache_ucache_dec($key, $dec_by = 1, &$success) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Deletes the elements in the user cache pointed by key. * @link https://secure.php.net/manual/en/function.wincache-ucache-delete.php * @param string|string[] $key

The key that was used to store the variable in the cache. * key is case sensitive. key can be an array of keys.

* @return bool Returns TRUE on success or FALSE on failure. *

If key is an array then the function returns FALSE if every element of * the array fails to get deleted from the user cache, otherwise returns an * array which consists of all the keys that are deleted.

*/ function wincache_ucache_delete($key) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Checks if a variable with the key exists in the user cache or not. * @link https://secure.php.net/manual/en/function.wincache-ucache-exists.php * @param string $key The key that was used to store the variable in the cache. key is case sensitive. * @return bool Returns TRUE if variable with the key exitsts, otherwise returns FALSE. */ function wincache_ucache_exists($key) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Gets a variable stored in the user cache. * @link https://secure.php.net/manual/en/function.wincache-ucache-get.php * @param string|string[] $key

The key that was used to store the variable in the cache. * key is case sensitive. key can be an array of keys. In this case the return * value will be an array of values of each element in the key array.

* @param bool|null &$success [optional] *

Will be set to TRUE on success and FALSE on failure.

* @return mixed

If key is a string, the function returns the value of the variable * stored with that key. The success is set to TRUE on success and to FALSE on failure.

*

The key is an array, the parameter success is always set to TRUE. The returned array * (name => value pairs) will contain only those name => value pairs for which the get * operation in user cache was successful. If none of the keys in the key array finds a * match in the user cache an empty array will be returned.

*/ function wincache_ucache_get($key, &$success) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Increments the value associated with the key by 1 or as specified by inc_by. * @link https://secure.php.net/manual/en/function.wincache-ucache-inc.php * @param string $key

The key that was used to store the variable in the cache. * key is case sensitive.

* @param int $inc_by

The value by which the variable associated with the key will * get incremented. If the argument is a floating point number it will be truncated * to nearest integer. The variable associated with the key should be of type long, * otherwise the function fails and returns FALSE.

* @param bool|null &$success [optional] *

Will be set to TRUE on success and FALSE on failure.

* @return int|false Returns the incremented value on success and FALSE on failure. */ function wincache_ucache_inc($key, $inc_by = 1, &$success) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Retrieves information about data stored in the user cache. * @link https://secure.php.net/manual/en/function.wincache-ucache-info.php * @param bool $summaryonly [optional] *

Controls whether the returned array will contain information about * individual cache entries along with the user cache summary.

* @param null|string $key [optional] *

The key of an entry in the user cache. If specified then the returned array * will contain information only about that cache entry. If not specified and * summaryonly is set to false then the returned array will contain information * about all entries in the cache.

* @return array|false Array of meta data about user cache or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_ucache_info(bool $summaryonly = false, $key = null) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Retrieves information about memory usage by user cache. * @link https://secure.php.net/manual/en/function.wincache-ucache-meminfo.php * @return array|false Array of meta data about user cache memory usage or FALSE on failure *

The array returned by this function contains the following elements: *

*/ function wincache_ucache_meminfo() {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Adds a variable in user cache and overwrites a variable if it already exists in the cache. *

The added or updated variable remains in the user cache unless its time to * live expires or it is deleted by using wincache_ucache_delete() or * wincache_ucache_clear() functions.

* @link https://secure.php.net/manual/en/function.wincache-ucache-set.php * @param string|string[] $key

* Store the variable using this key name. If a variable with same key is already * present the function will overwrite the previous value with the new one. key * is case sensitive. key can also take array of name => value pairs where * names will be used as keys. This can be used to add multiple values in the * cache in one operation, thus avoiding race condition.

* @param mixed $value

* Value of a variable to store. Value supports all data types except resources, * such as file handles. This parameter is ignored if first argument is an array. * A general guidance is to pass NULL as value while using array as key.

* @param int $ttl [optional]

* Time for the variable to live in the cache in seconds. After the value specified * in ttl has passed the stored variable will be deleted from the cache. This * parameter takes a default value of 0 which means the variable will stay in the * cache unless explicitly deleted by using wincache_ucache_delete() or * wincache_ucache_clear() functions.

* @return bool

* If key is string, the function returns TRUE on success and FALSE on failure.

*

If key is an array, the function returns: *

*/ function wincache_ucache_set($key, $value, $ttl = 0) {} /** * (PHP 5.2+; PECL wincache >= 1.1.0)
* Releases an exclusive lock that was obtained on a given key by using wincache_lock(). *

If any other process was blocked waiting for the lock on this key, that process will be able to obtain the lock.

* @link https://secure.php.net/manual/en/function.wincache-unlock.php * @param string $key Name of the key in the cache to release the lock on. * @return bool Returns TRUE on success or FALSE on failure. */ function wincache_unlock($key) {}