Lines Matching refs:var_name

4597 static void zend_compile_static_var_common(zend_string *var_name, zval *value, uint32_t mode) /* {{…  in zend_compile_static_var_common()  argument
4607 value = zend_hash_update(CG(active_op_array)->static_variables, var_name, value); in zend_compile_static_var_common()
4609 if (zend_string_equals_literal(var_name, "this")) { in zend_compile_static_var_common()
4615 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var_common()
5740 zend_string *var_name = var_ast ? zval_make_interned_string(zend_ast_get_zval(var_ast)) : NULL; in zend_compile_try() local
5768 if (var_name && zend_string_equals_literal(var_name, "this")) { in zend_compile_try()
5772 opline->result_type = var_name ? IS_CV : IS_UNUSED; in zend_compile_try()
5773 opline->result.var = var_name ? lookup_cv(var_name) : -1; in zend_compile_try()
6592 zend_string *var_name = zval_make_interned_string(zend_ast_get_zval(var_name_ast)); in zend_compile_closure_binding() local
6597 if (zend_string_equals_literal(var_name, "this")) { in zend_compile_closure_binding()
6601 if (zend_is_auto_global(var_name)) { in zend_compile_closure_binding()
6605 value = zend_hash_add(op_array->static_variables, var_name, &EG(uninitialized_zval)); in zend_compile_closure_binding()
6608 "Cannot use variable $%s twice", ZSTR_VAL(var_name)); in zend_compile_closure_binding()
6615 opline->op2.var = lookup_cv(var_name); in zend_compile_closure_binding()
6699 zend_string *var_name; in compile_implicit_lexical_binds() local
6711 ZEND_HASH_FOREACH_STR_KEY(&info->uses, var_name) in compile_implicit_lexical_binds()
6713 op_array->static_variables, var_name, &EG(uninitialized_zval)); in compile_implicit_lexical_binds()
6718 opline->op2.var = lookup_cv(var_name); in compile_implicit_lexical_binds()
6731 zend_string *var_name = zend_ast_get_str(var_ast); in zend_compile_closure_uses() local
6738 if (zend_string_equals(op_array->vars[i], var_name)) { in zend_compile_closure_uses()
6740 "Cannot use lexical variable $%s as a parameter name", ZSTR_VAL(var_name)); in zend_compile_closure_uses()
6747 zend_compile_static_var_common(var_name, &zv, var_ast->attr ? ZEND_BIND_REF : 0); in zend_compile_closure_uses()
6754 zend_string *var_name; in zend_compile_implicit_closure_uses() local
6755 ZEND_HASH_FOREACH_STR_KEY(&info->uses, var_name) in zend_compile_implicit_closure_uses()
6758 zend_compile_static_var_common(var_name, &zv, ZEND_BIND_IMPLICIT); in zend_compile_implicit_closure_uses()