Lines Matching refs:by_ref

2437 zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, zend_bool by_ref);
2531 static zend_op *zend_compile_prop(znode *result, zend_ast *ast, uint32_t type, int by_ref) /* {{{ */ in zend_compile_prop() argument
2535 if (by_ref) { /* shared with cache_slot */ in zend_compile_prop()
2542 zend_op *zend_compile_static_prop(znode *result, zend_ast *ast, uint32_t type, int by_ref, int dela… in zend_compile_static_prop() argument
2574 if (by_ref && (type == BP_VAR_W || type == BP_VAR_FUNC_ARG)) { /* shared with cache_slot */ in zend_compile_static_prop()
4287 zend_bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return() local
4294 by_ref = 0; in zend_compile_return()
4300 } else if (by_ref && zend_is_variable(expr_ast)) { in zend_compile_return()
4307 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
4310 if (by_ref) { in zend_compile_return()
4325 opline = zend_emit_op(NULL, by_ref ? ZEND_RETURN_BY_REF : ZEND_RETURN, in zend_compile_return()
4328 if (by_ref && expr_ast) { in zend_compile_return()
4633 zend_bool by_ref = value_ast->kind == ZEND_AST_REF; in zend_compile_foreach() local
4649 if (by_ref) { in zend_compile_foreach()
4654 by_ref = 1; in zend_compile_foreach()
4657 if (by_ref && is_variable) { in zend_compile_foreach()
4663 if (by_ref) { in zend_compile_foreach()
4668 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
4673 opline = zend_emit_op(NULL, by_ref ? ZEND_FE_FETCH_RW : ZEND_FE_FETCH_R, &reset_node, NULL); in zend_compile_foreach()
4686 } else if (by_ref) { in zend_compile_foreach()
7937 zend_bool by_ref; in zend_compile_array() local
7958 by_ref = elem_ast->attr; in zend_compile_array()
7966 if (by_ref) { in zend_compile_array()
7982 opline->extended_value |= by_ref; in zend_compile_array()
8727 zend_op *zend_compile_var(znode *result, zend_ast *ast, uint32_t type, int by_ref) /* {{{ */ in zend_compile_var() argument
8737 return zend_compile_prop(result, ast, type, by_ref); in zend_compile_var()
8739 return zend_compile_static_prop(result, ast, type, by_ref, 0); in zend_compile_var()
8764 zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, zend_bool by_ref) /*… in zend_delayed_compile_var() argument
8774 if (by_ref) { in zend_delayed_compile_var()
8780 return zend_compile_static_prop(result, ast, type, by_ref, 1); in zend_delayed_compile_var()