mirror of
https://github.com/php/php-src.git
synced 2025-01-26 13:44:22 +08:00
Semantically it's a refcount increase, not a lock...
This commit is contained in:
parent
6f9d0da2e5
commit
53acb1814e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user