--TEST-- Phar::loadPhar ignoring alias --EXTENSIONS-- phar --INI-- phar.require_hash=0 --FILE-- '; $files = array(); $files['a.php'] = ''; $files['b.php'] = ''; $files['b/c.php'] = ''; $files['b/d.php'] = ''; $files['e.php'] = ''; $files['.phar/test'] = ''; include 'files/phar_test.inc'; Phar::loadPhar($fname); require $pname . '/a.php'; $p = new Phar($fname); var_dump(isset($p['.phar/test'])); try { $p['.phar/test']; } catch (Exception $e) { echo $e->getMessage(),"\n"; } ?> --CLEAN-- --EXPECT-- This is a This is b This is b/c This is b/d This is e bool(false) Cannot directly get any files or directories in magic ".phar" directory