--TEST-- Cache_Lite::Cache_Lite (PEAR bug #18328) --INI-- track_errors=Off --FILE-- */ require_once __DIR__ . '/../Cache/Lite.php'; $c = new Cache_Lite(array('cacheDir' => '.', 'lifeTime' => 60,)); var_dump($c->_cacheDir === '.'); $c = new Cache_Lite(array('lifeTime' => 60)); var_dump($c->_cacheDir === (function_exists('sys_get_temp_dir') ? sys_get_temp_dir() . DIRECTORY_SEPARATOR : '/tmp/')); --GET-- --POST-- --EXPECT-- bool(true) bool(true)