--TEST-- Phar: test broken app --SKIPIF-- --INI-- phar.readonly=0 phar.require_hash=0 --FILE-- convertToExecutable(); $phar = new Phar($phar_file); $phar->startBuffering(); $phar->setStub("stopBuffering(); foreach(new RecursiveIteratorIterator($phar) as $path) { echo str_replace('\\', '/', $path->getPathName()) . "\n"; } ?> --CLEAN-- --EXPECTF-- phar://%szfapp.phar.tar.gz/application/default/controllers/ErrorController.php phar://%szfapp.phar.tar.gz/application/default/controllers/IndexController.php phar://%szfapp.phar.tar.gz/application/default/views/scripts/error/error.phtml phar://%szfapp.phar.tar.gz/application/default/views/scripts/index/index.phtml phar://%szfapp.phar.tar.gz/html/.htaccess phar://%szfapp.phar.tar.gz/html/index.php