|
wincache_ucache_set(PECL wincache >= 1.1.0) wincache_ucache_set — Adds a variable in user cache and overwrites a variable if it already exists in the cache ОписаниеAdds a variable in user cache. 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. Список параметров
Возвращаемые значенияIf key is string, the function returns TRUE on success and FALSE on failure. If key is an array, the function returns:
Примеры
Пример #1 wincache_ucache_set() with key as a string
<?php Результат выполнения данного примера: bool(true) string(3) "BAR" bool(true) string(3) "BAR1"
Пример #2 wincache_ucache_set() with key as an array
<?php Результат выполнения данного примера: array(0) {} array(0) {} string(1) "6" Смотрите также
|
|