Lines Matching refs:value_ast
5503 zend_ast *value_ast = ast->child[1]; in zend_compile_static_var() local
5505 if (!value_ast || value_ast->kind == ZEND_AST_ZVAL) { in zend_compile_static_var()
5506 zval *value_zv = value_ast in zend_compile_static_var()
5507 ? zend_ast_get_zval(value_ast) in zend_compile_static_var()
5524 zend_compile_expr(&expr, value_ast); in zend_compile_static_var()
6040 zend_ast *value_ast = ast->child[1]; in zend_compile_foreach() local
6043 bool by_ref = value_ast->kind == ZEND_AST_REF; in zend_compile_foreach()
6060 value_ast = value_ast->child[0]; in zend_compile_foreach()
6063 if (value_ast->kind == ZEND_AST_ARRAY && zend_propagate_list_refs(value_ast)) { in zend_compile_foreach()
6085 if (is_this_fetch(value_ast)) { in zend_compile_foreach()
6087 } else if (value_ast->kind == ZEND_AST_VAR && in zend_compile_foreach()
6088 zend_try_compile_cv(&value_node, value_ast) == SUCCESS) { in zend_compile_foreach()
6094 if (value_ast->kind == ZEND_AST_ARRAY) { in zend_compile_foreach()
6095 zend_compile_list_assign(NULL, value_ast, &value_node, value_ast->attr); in zend_compile_foreach()
6097 zend_emit_assign_ref_znode(value_ast, &value_node); in zend_compile_foreach()
6099 zend_emit_assign_znode(value_ast, &value_node); in zend_compile_foreach()
6783 zend_ast *value_ast = declare_ast->child[1]; in zend_handle_encoding_declaration() local
6787 if (value_ast->kind != ZEND_AST_ZVAL) { in zend_handle_encoding_declaration()
6793 zend_string *encoding_name = zval_get_string(zend_ast_get_zval(value_ast)); in zend_handle_encoding_declaration()
9837 zend_ast *value_ast = elem_ast->child[0]; in zend_try_ct_eval_array() local
9840 zval *value = zend_ast_get_zval(value_ast); in zend_try_ct_eval_array()
10438 zend_ast *value_ast = ast->child[0]; in zend_compile_yield() local
10453 if (value_ast) { in zend_compile_yield()
10454 if (returns_by_ref && zend_is_variable(value_ast)) { in zend_compile_yield()
10455 zend_assert_not_short_circuited(value_ast); in zend_compile_yield()
10456 zend_compile_var(&value_node, value_ast, BP_VAR_W, 1); in zend_compile_yield()
10458 zend_compile_expr(&value_node, value_ast); in zend_compile_yield()
10465 if (value_ast && returns_by_ref && zend_is_call(value_ast)) { in zend_compile_yield()
10670 zend_ast *value_ast, *key_ast; in zend_compile_array() local
10678 value_ast = elem_ast->child[0]; in zend_compile_array()
10681 zend_compile_expr(&value_node, value_ast); in zend_compile_array()
10701 zend_ensure_writable_variable(value_ast); in zend_compile_array()
10702 zend_compile_var(&value_node, value_ast, BP_VAR_W, 1); in zend_compile_array()
10704 zend_compile_expr(&value_node, value_ast); in zend_compile_array()