Edit File: xcache_prop_id.phpt
--TEST-- CacheXCache::id --SKIPIF-- <?php if (!function_exists('xcache_set')) print 'skip XCache extension not available'; ?> --FILE-- <?php require_once dirname(__FILE__) . '/../cachecore.class.php'; require_once dirname(__FILE__) . '/../cachexcache.class.php'; $cache = new CacheXCache('test', null, 60); var_dump($cache->id); ?> --EXPECT-- string(4) "test"
Back to File Manager