Lines Matching refs:var_name

5463 static void zend_compile_static_var_common(zend_string *var_name, zval *value, uint32_t mode) /* {{…  in zend_compile_static_var_common()  argument
5473 value = zend_hash_update(CG(active_op_array)->static_variables, var_name, value); in zend_compile_static_var_common()
5475 if (zend_string_equals(var_name, ZSTR_KNOWN(ZEND_STR_THIS))) { in zend_compile_static_var_common()
5481 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var_common()
5489 zend_string *var_name = zend_ast_get_str(var_ast); in zend_compile_static_var() local
5491 if (zend_string_equals(var_name, ZSTR_KNOWN(ZEND_STR_THIS))) { in zend_compile_static_var()
5502 if (zend_hash_exists(CG(active_op_array)->static_variables, var_name)) { in zend_compile_static_var()
5503 …rror_noreturn_unchecked(E_COMPILE_ERROR, "Duplicate declaration of static variable $%S", var_name); in zend_compile_static_var()
5514 zend_compile_static_var_common(var_name, value_zv, ZEND_BIND_REF); in zend_compile_static_var()
5518 …zval *placeholder_ptr = zend_hash_update(CG(active_op_array)->static_variables, var_name, &EG(unin… in zend_compile_static_var()
5524 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var()
5532 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var()
6663 zend_string *var_name = var_ast ? zval_make_interned_string(zend_ast_get_zval(var_ast)) : NULL; in zend_compile_try() local
6691 if (var_name && zend_string_equals(var_name, ZSTR_KNOWN(ZEND_STR_THIS))) { in zend_compile_try()
6695 opline->result_type = var_name ? IS_CV : IS_UNUSED; in zend_compile_try()
6696 opline->result.var = var_name ? lookup_cv(var_name) : -1; in zend_compile_try()
7861 zend_string *var_name = zval_make_interned_string(zend_ast_get_zval(var_name_ast)); in zend_compile_closure_binding() local
7866 if (zend_string_equals(var_name, ZSTR_KNOWN(ZEND_STR_THIS))) { in zend_compile_closure_binding()
7870 if (zend_is_auto_global(var_name)) { in zend_compile_closure_binding()
7874 value = zend_hash_add(op_array->static_variables, var_name, &EG(uninitialized_zval)); in zend_compile_closure_binding()
7877 "Cannot use variable $%S twice", var_name); in zend_compile_closure_binding()
7884 opline->op2.var = lookup_cv(var_name); in zend_compile_closure_binding()
7968 zend_string *var_name; in compile_implicit_lexical_binds() local
7980 ZEND_HASH_MAP_FOREACH_STR_KEY(&info->uses, var_name) in compile_implicit_lexical_binds()
7982 op_array->static_variables, var_name, &EG(uninitialized_zval)); in compile_implicit_lexical_binds()
7987 opline->op2.var = lookup_cv(var_name); in compile_implicit_lexical_binds()
8001 zend_string *var_name = zend_ast_get_str(var_ast); in zend_compile_closure_uses() local
8008 if (zend_string_equals(op_array->vars[i], var_name)) { in zend_compile_closure_uses()
8010 "Cannot use lexical variable $%S as a parameter name", var_name); in zend_compile_closure_uses()
8021 zend_compile_static_var_common(var_name, &zv, mode); in zend_compile_closure_uses()
8028 zend_string *var_name; in zend_compile_implicit_closure_uses() local
8029 ZEND_HASH_MAP_FOREACH_STR_KEY(&info->uses, var_name) in zend_compile_implicit_closure_uses()
8032 zend_compile_static_var_common(var_name, &zv, ZEND_BIND_IMPLICIT); in zend_compile_implicit_closure_uses()