From: Dmitry Stogov Date: Thu, 19 Mar 2020 22:37:27 +0000 (+0300) Subject: ZEND_MAKE_REF can't throw X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7283dbba274bf5fe879844d54eb504e7c62467d3;p=php ZEND_MAKE_REF can't throw --- diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index 34d6286769..cb02e58673 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -4245,6 +4245,7 @@ int zend_may_throw(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_ case ZEND_SEND_REF: case ZEND_UNSET_CV: case ZEND_ISSET_ISEMPTY_CV: + case ZEND_MAKE_REF: break; default: /* undefined variable warning */ @@ -4269,6 +4270,7 @@ int zend_may_throw(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_ case ZEND_SEND_REF: case ZEND_SEPARATE: case ZEND_END_SILENCE: + case ZEND_MAKE_REF: break; default: /* destructor may be called */