Lines Matching refs:static_variables
1062 if (op_array->static_variables) { in function_add_ref()
1063 if (!(GC_FLAGS(op_array->static_variables) & IS_ARRAY_IMMUTABLE)) { in function_add_ref()
1064 GC_REFCOUNT(op_array->static_variables)++; in function_add_ref()
1111 function->op_array.static_variables = NULL; /* NULL out the unbound function */ in do_bind_function()
4255 if (!CG(active_op_array)->static_variables) { in zend_compile_static_var_common()
4259 ALLOC_HASHTABLE(CG(active_op_array)->static_variables); in zend_compile_static_var_common()
4260 zend_hash_init(CG(active_op_array)->static_variables, 8, NULL, ZVAL_PTR_DTOR, 0); in zend_compile_static_var_common()
4263 if (GC_REFCOUNT(CG(active_op_array)->static_variables) > 1) { in zend_compile_static_var_common()
4264 if (!(GC_FLAGS(CG(active_op_array)->static_variables) & IS_ARRAY_IMMUTABLE)) { in zend_compile_static_var_common()
4265 GC_REFCOUNT(CG(active_op_array)->static_variables)--; in zend_compile_static_var_common()
4267 CG(active_op_array)->static_variables = zend_array_dup(CG(active_op_array)->static_variables); in zend_compile_static_var_common()
4269 zend_hash_update(CG(active_op_array)->static_variables, Z_STR(var_node.u.constant), value); in zend_compile_static_var_common()
5688 if (op_array->static_variables in zend_compile_closure_uses()
5689 && zend_hash_exists(op_array->static_variables, var_name)) { in zend_compile_closure_uses()