From: Reeze Xia Date: Mon, 9 Mar 2015 17:07:18 +0000 (+0000) Subject: Fixed phar file action failure after engine exception rfc been merged X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~731 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f174859acdb9d99176440a30b6608388a383de3f;p=php Fixed phar file action failure after engine exception rfc been merged --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 69bda4bab3..b05ba5982f 100644 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -298,6 +298,10 @@ static int phar_file_action(phar_archive_data *phar, phar_entry_info *info, char efree(name); } zend_end_try(); + if (EG(exception)) { + zend_exception_error(EG(exception), E_ERROR); + } + zend_bailout(); }