update : 2015.11.03
php.shukuma.com검색:
|
wincache_ucache_add(PECL wincache >= 1.1.0) wincache_ucache_add — Adds a variable in user cache only if variable does not already exist in the cache 설명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. 인수
반환값
If
If
예제
Example #1 wincache_ucache_add() with
<?php 위 예제의 출력: bool(true) bool(false) string(3) "BAR"
Example #2 wincache_ucache_add() with
<?php 위 예제의 출력: array(0) { } array(4) { ["green"]=> int(-1) ["Blue"]=> int(-1) ["yellow"]=> int(-1) ["cyan"]=> int(-1) } string(1) "6" 참고
|