extractTo(dirname($path).'/'.$file_name, null, true); } catch (Exception $e) { echo "There was an error.\n"; echo "Make sure command is: php extractPhpUnit.php path/to/phpunit.phar\n"; } } else { echo "Please specify path to phpunit.phar file"; }