What's the usage of apc_store();
and apc_fetch();
on the following example?
function getData($uid){
$cached = apc_fetch($uid);
return $cached?$cached:"Start";
}
function setData($uid,$step){
apc_store($uid,$step,60*60*12);
}
I want to store string and then use it later. I can't understand the main and general explanations about these two functions in PHP.