Cache $_SERVER['REQUEST_TIME'] : 1414050821
$_SERVER['REQUEST_TIME'] date 2014-10-23 02:53:41
$_SERVER['REQUEST_TIME'] cached 0 seconds ago
This cache expires each: 30 seconds
Cache other class method : External call to other class successfull on 2014-10-23 02:53:41
This cache expires each: 60 seconds
Cache & increment test num : 1
Cache a rand value : 5578
This cache expires each: 10 seconds
Cache an object :object(stdClass)#5 (4) { ["id"]=> int(24) ["name"]=> string(12) "Product name" ["qty_random"]=> int(188) ["date_insert"]=> string(19) "2014-10-23 02:53:42" }
This Object cache expires each: 10 seconds
Memory used: 929Kb

Press 'refresh' to see how the cache changes ...