From f174859acdb9d99176440a30b6608388a383de3f Mon Sep 17 00:00:00 2001 From: Reeze Xia Date: Mon, 9 Mar 2015 17:07:18 +0000 Subject: [PATCH] Fixed phar file action failure after engine exception rfc been merged --- ext/phar/phar_object.c | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- 2.40.0