wincache_ucache_exists
wincache_ucache_exists
Checks if a variable exists in the user cache
bool **wincache_ucache_exists** string $key
Checks if a variable with the exists in the user cache or not.
key
key
The that was used to store the variable in the cache.
is case sensitive.
key``key
Returns true if variable with the exitsts,
otherwise returns false.
key
**Voorbeeld: Using **
<?php
if (!wincache_ucache_exists('green'))
wincache_ucache_set('green', 1);
var_dump(wincache_ucache_exists('green'));
?>
bool(true)
wincache_ucache_set``wincache_ucache_add``wincache_ucache_get``wincache_ucache_clear``wincache_ucache_delete``wincache_ucache_meminfo``wincache_ucache_info