From 53acb1814e3bba07a743bd36f484475052b0cb8a Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 30 Jun 2003 13:51:48 +0000 Subject: [PATCH] Semantically it's a refcount increase, not a lock... --- Zend/zend_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 727da76eba4..4024254055e 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -683,7 +683,7 @@ static void zend_fetch_var_address(zend_op *opline, temp_variable *Ts, int type retval = zend_std_get_static_property(T(opline->op2.u.var).EA.class_entry, Z_STRVAL_P(varname), Z_STRLEN_P(varname), 0 TSRMLS_CC); } else { if (opline->op2.u.EA.type == ZEND_FETCH_GLOBAL && opline->op1.op_type == IS_VAR) { - PZVAL_LOCK(varname); + varname->refcount++; } target_symbol_table = zend_get_target_symbol_table(opline, Ts, type, varname TSRMLS_CC); if (!target_symbol_table) {