We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e77d5a commit 099ffc2Copy full SHA for 099ffc2
ext/opcache/Optimizer/zend_ssa.h
@@ -213,7 +213,10 @@ static zend_always_inline zend_ssa_phi* zend_ssa_next_use_phi(const zend_ssa *ss
213
214
static zend_always_inline zend_bool zend_ssa_is_no_val_use(const zend_op *opline, const zend_ssa_op *ssa_op, int var)
215
{
216
- if (opline->opcode == ZEND_ASSIGN || opline->opcode == ZEND_UNSET_CV) {
+ if (opline->opcode == ZEND_ASSIGN
217
+ || opline->opcode == ZEND_UNSET_CV
218
+ || opline->opcode == ZEND_BIND_GLOBAL
219
+ || opline->opcode == ZEND_BIND_STATIC) {
220
return ssa_op->op1_use == var && ssa_op->op2_use != var;
221
}
222
if (opline->opcode == ZEND_FE_FETCH_R || opline->opcode == ZEND_FE_FETCH_RW) {
0 commit comments