Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
phprs
util
ApcCache
PHP Class phprs\util\ApcCache
Author:
caoym
Inheritance:
implements
phprs\util\KVCatchInterface
Show file
Open project: caoym/phprs-restful
Public Methods
Method
Description
del
(
string
$key
) :
boolean
get
(
string
$key
,
boolean
&
$succeeded
) :
mixed
get
set
(
string
$key
,
string
$var
,
integer
$ttl
) :
boolean
Method Details
del()
public
method
public
del
(
string
$key
) :
boolean
$key
string
return
boolean
mixed Returns true on success or false on failure.
get()
public
method
get
public
get
(
string
$key
,
boolean
&
$succeeded
) :
mixed
$key
string
$succeeded
boolean
return
mixed
The stored variable or array of variables on success; false on failure
set()
public
method
public
set
(
string
$key
,
string
$var
,
integer
$ttl
) :
boolean
$key
string
$var
string
$ttl
integer
return
boolean
bool Returns true on success or false on failure. Second syntax returns array with error keys.