Lines Matching refs:by_ref

99 static zend_op *zend_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref);
100 static zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref);
3055 static zend_op *zend_delayed_compile_dim(znode *result, zend_ast *ast, uint32_t type, bool by_ref) in zend_delayed_compile_dim() argument
3108 if (by_ref) { in zend_delayed_compile_dim()
3118 static zend_op *zend_compile_dim(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ */ in zend_compile_dim() argument
3121 zend_delayed_compile_dim(result, ast, type, by_ref); in zend_compile_dim()
3200 static zend_op *zend_compile_prop(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ … in zend_compile_prop() argument
3204 if (by_ref) { /* shared with cache_slot */ in zend_compile_prop()
3211 static zend_op *zend_compile_static_prop(znode *result, zend_ast *ast, uint32_t type, bool by_ref, … in zend_compile_static_prop() argument
3244 if (by_ref && (type == BP_VAR_W || type == BP_VAR_FUNC_ARG)) { /* shared with cache_slot */ in zend_compile_static_prop()
5679 bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return() local
5686 by_ref = 0; in zend_compile_return()
5692 } else if (by_ref && zend_is_variable(expr_ast)) { in zend_compile_return()
5700 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
5703 if (by_ref) { in zend_compile_return()
5718 opline = zend_emit_op(NULL, by_ref ? ZEND_RETURN_BY_REF : ZEND_RETURN, in zend_compile_return()
5721 if (by_ref && expr_ast) { in zend_compile_return()
6043 bool by_ref = value_ast->kind == ZEND_AST_REF; in zend_compile_foreach() local
6059 if (by_ref) { in zend_compile_foreach()
6064 by_ref = 1; in zend_compile_foreach()
6067 if (by_ref && is_variable) { in zend_compile_foreach()
6073 if (by_ref) { in zend_compile_foreach()
6078 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
6083 opline = zend_emit_op(NULL, by_ref ? ZEND_FE_FETCH_RW : ZEND_FE_FETCH_R, &reset_node, NULL); in zend_compile_foreach()
6096 } else if (by_ref) { in zend_compile_foreach()
10693 bool by_ref; in zend_compile_array() local
10714 by_ref = elem_ast->attr; in zend_compile_array()
10722 if (by_ref) { in zend_compile_array()
10738 opline->extended_value |= by_ref; in zend_compile_array()
11621 static zend_op *zend_compile_var_inner(znode *result, zend_ast *ast, uint32_t type, bool by_ref) in zend_compile_var_inner() argument
11641 return zend_compile_dim(result, ast, type, by_ref); in zend_compile_var_inner()
11644 return zend_compile_prop(result, ast, type, by_ref); in zend_compile_var_inner()
11646 return zend_compile_static_prop(result, ast, type, by_ref, 0); in zend_compile_var_inner()
11674 static zend_op *zend_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ */ in zend_compile_var() argument
11677 zend_op *opcode = zend_compile_var_inner(result, ast, type, by_ref); in zend_compile_var()
11682 static zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref) … in zend_delayed_compile_var() argument
11688 return zend_delayed_compile_dim(result, ast, type, by_ref); in zend_delayed_compile_var()
11693 if (by_ref) { in zend_delayed_compile_var()
11699 return zend_compile_static_prop(result, ast, type, by_ref, 1); in zend_delayed_compile_var()