--TEST-- Phar object: iterate test with sub-directories and RecursiveIteratorIterator --EXTENSIONS-- phar --INI-- phar.readonly=0 phar.require_hash=0 --FILE-- $obj) { var_dump($obj->getPathName()); } ?> --CLEAN-- --EXPECTF-- string(%d) "phar://%sphar_dir_iterate.phar.php%canother.file.txt" string(%d) "phar://%sphar_dir_iterate.phar.php/sub%ctop.txt" string(%d) "phar://%sphar_dir_iterate.phar.php%ctop.txt"