Edit File: memcached_prop_expires.phpt
--TEST-- CacheMC::expires --SKIPIF-- <?php if (!class_exists('Memcache') && !class_exists('Memcached')) print 'skip Neither the Memcached nor Memcache extensions are available'; ?> --FILE-- <?php require_once dirname(__FILE__) . '/../cachecore.class.php'; require_once dirname(__FILE__) . '/../cachemc.class.php'; $cache = new CacheMC('test', array( array('host' => '127.0.0.1', 'port' => 11211) ), 60); var_dump($cache->expires); ?> --EXPECT-- int(60)
Back to File Manager