PHP » GoLang |
login |
register |
about
|
GoLang wincache_ucache_add
request it (396)
GoLang replacement for PHP's wincache_ucache_add
[edit | history]
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 DescriptionAdds 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. Parameters
Return Values
If
If
Examples
Example #1 wincache_ucache_add() with
<?php The above example will output: bool(true) bool(false) string(3) "BAR"
Example #2 wincache_ucache_add() with
<?php The above example will output: array(0) { } array(4) { ["green"]=> int(-1) ["Blue"]=> int(-1) ["yellow"]=> int(-1) ["cyan"]=> int(-1) } string(1) "6" See Also
|
more
Recently updated
more
Most requested
more
Last requests
|