summaryrefslogtreecommitdiff
path: root/Zend/zend_opcode.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-03-15 15:09:46 +0000
committerAndi Gutmans <andi@php.net>2002-03-15 15:09:46 +0000
commit0ce019f715c26ef20aa768c08540f6c7d53753ff (patch)
treed52dde2049361ad6623042848f9108008989ad3c /Zend/zend_opcode.c
parentfb624cb77a67c951f11302638e0776cfacb095fb (diff)
downloadphp-git-0ce019f715c26ef20aa768c08540f6c7d53753ff.tar.gz
- Fix issues with $this when using it by itself without indirection such as
- $this->foo.
Diffstat (limited to 'Zend/zend_opcode.c')
-rw-r--r--Zend/zend_opcode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index ed10615c83..221dee43ae 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -87,6 +87,8 @@ void init_op_array(zend_op_array *op_array, int type, int initial_ops_size TSRML
op_array->return_reference = 0;
op_array->done_pass_two = 0;
+ op_array->uses_this = 0;
+
op_array->start_op = NULL;
zend_llist_apply_with_argument(&zend_extensions, (llist_apply_with_arg_func_t) zend_extension_op_array_ctor_handler, op_array TSRMLS_CC);