diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-05 12:06:52 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-05 12:06:52 +0200 |
commit | 5846e852831a01ab70b9350031924462302e1854 (patch) | |
tree | 2ae81526e1883960904ebb0b23175b6effb84071 | |
parent | c353f17d4251f185d8fdb756991782671b0e2ac6 (diff) | |
download | php-git-5846e852831a01ab70b9350031924462302e1854.tar.gz |
Backport fe_reset_rw case
-rw-r--r-- | ext/opcache/Optimizer/zend_inference.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index 17e7d8e1a9..12a6fdafaf 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -3227,6 +3227,7 @@ static int zend_update_type_info(const zend_op_array *op_array, case ZEND_RETURN_BY_REF: case ZEND_VERIFY_RETURN_TYPE: case ZEND_MAKE_REF: + case ZEND_FE_RESET_RW: tmp |= MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF; break; case ZEND_PRE_INC: |