--TEST-- Cache_Lite::Cache_Lite (PEAR bug #19711) --INI-- track_errors=Off --FILE-- */ require_once __DIR__ . '/../Cache/Lite.php'; require_once __DIR__ . '/tmpdir.inc'; $options = array( 'cacheDir' => tmpDir() . '/', 'lifeTime' => 60, 'automaticSerialization' => true ); $Cache_Lite = new Cache_Lite($options); $data = array('apples', 'oranges'); $Cache_Lite->save($data, 'array_cached'); $fetched_data = $Cache_Lite->get('array_cached'); var_dump($data === $fetched_data); ?> --GET-- --POST-- --EXPECT-- bool(true)