Lines Matching refs:var_name
4800 static void zend_compile_static_var_common(zend_string *var_name, zval *value, uint32_t mode) /* {{… in zend_compile_static_var_common() argument
4810 value = zend_hash_update(CG(active_op_array)->static_variables, var_name, value); in zend_compile_static_var_common()
4812 if (zend_string_equals_literal(var_name, "this")) { in zend_compile_static_var_common()
4818 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var_common()
5958 zend_string *var_name = var_ast ? zval_make_interned_string(zend_ast_get_zval(var_ast)) : NULL; in zend_compile_try() local
5986 if (var_name && zend_string_equals_literal(var_name, "this")) { in zend_compile_try()
5990 opline->result_type = var_name ? IS_CV : IS_UNUSED; in zend_compile_try()
5991 opline->result.var = var_name ? lookup_cv(var_name) : -1; in zend_compile_try()
6914 zend_string *var_name = zval_make_interned_string(zend_ast_get_zval(var_name_ast)); in zend_compile_closure_binding() local
6919 if (zend_string_equals_literal(var_name, "this")) { in zend_compile_closure_binding()
6923 if (zend_is_auto_global(var_name)) { in zend_compile_closure_binding()
6927 value = zend_hash_add(op_array->static_variables, var_name, &EG(uninitialized_zval)); in zend_compile_closure_binding()
6930 "Cannot use variable $%s twice", ZSTR_VAL(var_name)); in zend_compile_closure_binding()
6937 opline->op2.var = lookup_cv(var_name); in zend_compile_closure_binding()
7021 zend_string *var_name; in compile_implicit_lexical_binds() local
7033 ZEND_HASH_FOREACH_STR_KEY(&info->uses, var_name) in compile_implicit_lexical_binds()
7035 op_array->static_variables, var_name, &EG(uninitialized_zval)); in compile_implicit_lexical_binds()
7040 opline->op2.var = lookup_cv(var_name); in compile_implicit_lexical_binds()
7054 zend_string *var_name = zend_ast_get_str(var_ast); in zend_compile_closure_uses() local
7061 if (zend_string_equals(op_array->vars[i], var_name)) { in zend_compile_closure_uses()
7063 "Cannot use lexical variable $%s as a parameter name", ZSTR_VAL(var_name)); in zend_compile_closure_uses()
7074 zend_compile_static_var_common(var_name, &zv, mode); in zend_compile_closure_uses()
7081 zend_string *var_name; in zend_compile_implicit_closure_uses() local
7082 ZEND_HASH_FOREACH_STR_KEY(&info->uses, var_name) in zend_compile_implicit_closure_uses()
7085 zend_compile_static_var_common(var_name, &zv, ZEND_BIND_IMPLICIT); in zend_compile_implicit_closure_uses()