diff options
author | Andi Gutmans <andi@php.net> | 2001-05-25 09:46:48 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-05-25 09:46:48 +0000 |
commit | e264a407ebf338744f76a0dcf6759625c4793ebf (patch) | |
tree | 57697c1248b3e42b44fed586db1683dff6afae9b | |
parent | 90c36273b46189b4c3ec9883b4ecf281cd07acf9 (diff) | |
download | php-git-e264a407ebf338744f76a0dcf6759625c4793ebf.tar.gz |
- Change if() to while() to make sure we skip enough opcodes
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 1d70608083..5c101d97c1 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -670,7 +670,7 @@ void zend_do_free(znode *op1 CLS_DC) } else if (op1->op_type==IS_VAR) { zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; - if (opline->opcode == ZEND_END_SILENCE || opline->opcode == ZEND_EXT_FCALL_END) { + while (opline->opcode == ZEND_END_SILENCE || opline->opcode == ZEND_EXT_FCALL_END) { opline--; } if (opline->result.op_type == op1->op_type |