summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend-scanner.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend-scanner.l b/Zend/zend-scanner.l
index 63ea2cc567..869fd30093 100644
--- a/Zend/zend-scanner.l
+++ b/Zend/zend-scanner.l
@@ -374,6 +374,8 @@ ZEND_API zend_op_array *v_compile_files(int mark_as_ref CLS_DC, int file_count,
retval_znode.op_type = IS_CONST;
retval_znode.u.constant.type = IS_LONG;
retval_znode.u.constant.value.lval = 1;
+ retval_znode.u.constant.is_ref = 0;
+ retval_znode.u.constant.refcount = 1;
do_return(&retval_znode, 0 CLS_CC);
CG(active_op_array) = original_active_op_array;
pass_two(op_array);