<?php
//load the cache file
require_once 'init.php';
/* file system cache */
$cache = new Lablnet\Cache();
//file name
$name = 'newfile';
//create the cache
$cache->create($name);
//store the values deleted after 1 hour
$cache->store($name, 'dsdsd', 'Hello World', 3600);
//get the value
var_dump($cache->load($name));
//delete the cache
$cache->delete('newfile');
|