Blame | Letzte Änderung | Log anzeigen | RSS feed
--TEST--CacheXCache::delete() and read()--SKIPIF--<?phpif (!function_exists('xcache_set')) print 'skip XCache extension not available';?>--FILE--<?phprequire_once dirname(__FILE__) . '/../cachecore.class.php';require_once dirname(__FILE__) . '/../cachexcache.class.php';$cache = new CacheXCache('test', null, 60);var_dump($cache->create('test data'));var_dump($cache->read());var_dump($cache->delete());var_dump($cache->read());?>--EXPECT--bool(true)string(9) "test data"bool(true)bool(false)