I apologies firstly as i am quite new to JSON
When i run the following line the first time with DECODE_ENABLED = TRUE;
$getGame = $testCache->getCurrentGame($summoner_id,OC1);
var_dump ($getGame);
It returns an array, but if i go and refresh the page it will return it as a string.
If i do the same thing again with DECODE_ENABLED = FALSE;
it returns a string both times.
Am i missing an option to decode from cache somewhere or am i making a silly mistake?
I apologies firstly as i am quite new to JSON
When i run the following line the first time with DECODE_ENABLED = TRUE;
$getGame = $testCache->getCurrentGame($summoner_id,OC1);
var_dump ($getGame);
It returns an array, but if i go and refresh the page it will return it as a string.
If i do the same thing again with DECODE_ENABLED = FALSE;
it returns a string both times.
Am i missing an option to decode from cache somewhere or am i making a silly mistake?