Lines Matching refs:by_ref

96 static zend_op *zend_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref);
97 static zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref);
2965 static zend_op *zend_delayed_compile_dim(znode *result, zend_ast *ast, uint32_t type, bool by_ref) in zend_delayed_compile_dim() argument
3021 if (by_ref) { in zend_delayed_compile_dim()
3031 static zend_op *zend_compile_dim(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ */ in zend_compile_dim() argument
3034 zend_delayed_compile_dim(result, ast, type, by_ref); in zend_compile_dim()
3113 static zend_op *zend_compile_prop(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ … in zend_compile_prop() argument
3117 if (by_ref) { /* shared with cache_slot */ in zend_compile_prop()
3124 static zend_op *zend_compile_static_prop(znode *result, zend_ast *ast, uint32_t type, bool by_ref, … in zend_compile_static_prop() argument
3157 if (by_ref && (type == BP_VAR_W || type == BP_VAR_FUNC_ARG)) { /* shared with cache_slot */ in zend_compile_static_prop()
5166 bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return() local
5173 by_ref = 0; in zend_compile_return()
5179 } else if (by_ref && zend_is_variable(expr_ast)) { in zend_compile_return()
5187 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
5190 if (by_ref) { in zend_compile_return()
5205 opline = zend_emit_op(NULL, by_ref ? ZEND_RETURN_BY_REF : ZEND_RETURN, in zend_compile_return()
5208 if (by_ref && expr_ast) { in zend_compile_return()
5530 bool by_ref = value_ast->kind == ZEND_AST_REF; in zend_compile_foreach() local
5546 if (by_ref) { in zend_compile_foreach()
5551 by_ref = 1; in zend_compile_foreach()
5554 if (by_ref && is_variable) { in zend_compile_foreach()
5560 if (by_ref) { in zend_compile_foreach()
5565 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
5570 opline = zend_emit_op(NULL, by_ref ? ZEND_FE_FETCH_RW : ZEND_FE_FETCH_R, &reset_node, NULL); in zend_compile_foreach()
5583 } else if (by_ref) { in zend_compile_foreach()
9732 bool by_ref; in zend_compile_array() local
9753 by_ref = elem_ast->attr; in zend_compile_array()
9761 if (by_ref) { in zend_compile_array()
9777 opline->extended_value |= by_ref; in zend_compile_array()
10629 static zend_op *zend_compile_var_inner(znode *result, zend_ast *ast, uint32_t type, bool by_ref) in zend_compile_var_inner() argument
10649 return zend_compile_dim(result, ast, type, by_ref); in zend_compile_var_inner()
10652 return zend_compile_prop(result, ast, type, by_ref); in zend_compile_var_inner()
10654 return zend_compile_static_prop(result, ast, type, by_ref, 0); in zend_compile_var_inner()
10679 static zend_op *zend_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ */ in zend_compile_var() argument
10682 zend_op *opcode = zend_compile_var_inner(result, ast, type, by_ref); in zend_compile_var()
10687 static zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref) … in zend_delayed_compile_var() argument
10693 return zend_delayed_compile_dim(result, ast, type, by_ref); in zend_delayed_compile_var()
10698 if (by_ref) { in zend_delayed_compile_var()
10704 return zend_compile_static_prop(result, ast, type, by_ref, 1); in zend_delayed_compile_var()