Lines Matching refs:by_ref

2730 zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, zend_bool by_ref);
2838 static zend_op *zend_compile_prop(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ … in zend_compile_prop() argument
2842 if (by_ref) { /* shared with cache_slot */ in zend_compile_prop()
2849 zend_op *zend_compile_static_prop(znode *result, zend_ast *ast, uint32_t type, bool by_ref, bool de… in zend_compile_static_prop() argument
2882 if (by_ref && (type == BP_VAR_W || type == BP_VAR_FUNC_ARG)) { /* shared with cache_slot */ in zend_compile_static_prop()
4764 zend_bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return() local
4771 by_ref = 0; in zend_compile_return()
4777 } else if (by_ref && zend_is_variable(expr_ast)) { in zend_compile_return()
4788 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
4791 if (by_ref) { in zend_compile_return()
4806 opline = zend_emit_op(NULL, by_ref ? ZEND_RETURN_BY_REF : ZEND_RETURN, in zend_compile_return()
4809 if (by_ref && expr_ast) { in zend_compile_return()
5131 zend_bool by_ref = value_ast->kind == ZEND_AST_REF; in zend_compile_foreach() local
5147 if (by_ref) { in zend_compile_foreach()
5152 by_ref = 1; in zend_compile_foreach()
5155 if (by_ref && is_variable) { in zend_compile_foreach()
5161 if (by_ref) { in zend_compile_foreach()
5166 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
5171 opline = zend_emit_op(NULL, by_ref ? ZEND_FE_FETCH_RW : ZEND_FE_FETCH_R, &reset_node, NULL); in zend_compile_foreach()
5184 } else if (by_ref) { in zend_compile_foreach()
8848 zend_bool by_ref; in zend_compile_array() local
8869 by_ref = elem_ast->attr; in zend_compile_array()
8877 if (by_ref) { in zend_compile_array()
8893 opline->extended_value |= by_ref; in zend_compile_array()
9654 static zend_op *zend_compile_var_inner(znode *result, zend_ast *ast, uint32_t type, bool by_ref) in zend_compile_var_inner() argument
9665 return zend_compile_prop(result, ast, type, by_ref); in zend_compile_var_inner()
9667 return zend_compile_static_prop(result, ast, type, by_ref, 0); in zend_compile_var_inner()
9692 zend_op *zend_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ */ in zend_compile_var() argument
9695 zend_op *opcode = zend_compile_var_inner(result, ast, type, by_ref); in zend_compile_var()
9700 zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, zend_bool by_ref) /*… in zend_delayed_compile_var() argument
9711 if (by_ref) { in zend_delayed_compile_var()
9717 return zend_compile_static_prop(result, ast, type, by_ref, 1); in zend_delayed_compile_var()