/* Decoded by unphp.net */ --TEST-- Phar: phar:// include with Opcache --EXTENSIONS-- phar opcache --SKIPIF-- --INI-- phar.require_hash=0 opcache.enable=1 opcache.enable_cli=1 opcache.file_cache={PWD}/024-file_cache opcache.memory_consumption=64 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.jit_buffer_size=6M opcache.revalidate_freq=60 opcache.fast_shutdown=1 --FILE-- "; $files = array(); $files['a.php'] = ''; $files['b.php'] = ''; $files['b/c.php'] = ''; include 'files/phar_test.inc'; include $pname . '/a.php'; include $pname . '/b.php'; include $pname . '/b/c.php'; $cache_dir = ini_get("opcache.file_cache"); if (is_dir($cache_dir)) { $it = new RecursiveIteratorIterator( new RecursiveDirectoryIterator($cache_dir, RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::CHILD_FIRST ); foreach ($it as $fi) { $fn = ($fi->isDir() ? 'rmdir' : 'unlink'); $fn($fi->getRealPath()); } rmdir($cache_dir); } ?> --CLEAN-- --EXPECT-- This is a This is b This is b/c