Skip to content

Commit 40d8e9b

Browse files
committed
exception check
1 parent d08c584 commit 40d8e9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/zend_ast.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,9 @@ ZEND_API zend_result ZEND_FASTCALL zend_ast_evaluate_inner(
732732
EMPTY_SWITCH_DEFAULT_CASE();
733733
}
734734
zval_ptr_dtor_nogc(&op1);
735+
if (UNEXPECTED(EG(exception))) {
736+
ret = FAILURE;
737+
}
735738
}
736739
break;
737740
case ZEND_AST_OR:

0 commit comments

Comments
 (0)