diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-11-12 13:00:27 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-11-12 13:00:27 +0300 |
commit | 49fcbb4810ec12287956b66795cb1289ba4053b0 (patch) | |
tree | e0c06069789bd46e99b42d43611dd36f700ae2c9 | |
parent | c3f23642da5ed74fb5056e76502d0a9fc677e40d (diff) | |
parent | 9083e178f656878cab46aee52b555346ef92a768 (diff) | |
download | php-git-49fcbb4810ec12287956b66795cb1289ba4053b0.tar.gz |
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed wrong constant usage
-rw-r--r-- | ext/opcache/Optimizer/zend_ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/Optimizer/zend_ssa.c b/ext/opcache/Optimizer/zend_ssa.c index 9d3b81ca83..fdc383128b 100644 --- a/ext/opcache/Optimizer/zend_ssa.c +++ b/ext/opcache/Optimizer/zend_ssa.c @@ -448,7 +448,7 @@ static void place_essa_pis( if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { pi_type_mask(pi, mask_for_type_check(type)); } - if (type != IS_RESOURCE) { + if (type != MAY_BE_RESOURCE) { /* is_resource() may return false for closed resources */ if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) { pi_not_type_mask(pi, mask_for_type_check(type)); |