Home > PHP > Function > WinCache > wincache_ucache_exists()

wincache_ucache_exists()

wincache_ucache_exists - Checks if a variable exists in the user cache

Syntax

bool wincache_ucache_exists (string $key)

Arguments

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

Description

Checks if a variable with the key exists in the user cache or not.

Version

PHP PECL wincache >= 1.1.0

Return value

Returns TRUEif variable with the key exitsts, otherwise returns FALSE.