Lines Matching refs:by_ref

97 static zend_op *zend_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref);
98 static zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref);
2981 static zend_op *zend_delayed_compile_dim(znode *result, zend_ast *ast, uint32_t type, bool by_ref) in zend_delayed_compile_dim() argument
3037 if (by_ref) { in zend_delayed_compile_dim()
3047 static zend_op *zend_compile_dim(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ */ in zend_compile_dim() argument
3050 zend_delayed_compile_dim(result, ast, type, by_ref); in zend_compile_dim()
3129 static zend_op *zend_compile_prop(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ … in zend_compile_prop() argument
3133 if (by_ref) { /* shared with cache_slot */ in zend_compile_prop()
3140 static zend_op *zend_compile_static_prop(znode *result, zend_ast *ast, uint32_t type, bool by_ref, … in zend_compile_static_prop() argument
3173 if (by_ref && (type == BP_VAR_W || type == BP_VAR_FUNC_ARG)) { /* shared with cache_slot */ in zend_compile_static_prop()
5340 bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return() local
5347 by_ref = 0; in zend_compile_return()
5353 } else if (by_ref && zend_is_variable(expr_ast)) { in zend_compile_return()
5364 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
5367 if (by_ref) { in zend_compile_return()
5382 opline = zend_emit_op(NULL, by_ref ? ZEND_RETURN_BY_REF : ZEND_RETURN, in zend_compile_return()
5385 if (by_ref && expr_ast) { in zend_compile_return()
5707 bool by_ref = value_ast->kind == ZEND_AST_REF; in zend_compile_foreach() local
5723 if (by_ref) { in zend_compile_foreach()
5728 by_ref = 1; in zend_compile_foreach()
5731 if (by_ref && is_variable) { in zend_compile_foreach()
5737 if (by_ref) { in zend_compile_foreach()
5742 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
5747 opline = zend_emit_op(NULL, by_ref ? ZEND_FE_FETCH_RW : ZEND_FE_FETCH_R, &reset_node, NULL); in zend_compile_foreach()
5760 } else if (by_ref) { in zend_compile_foreach()
9958 bool by_ref; in zend_compile_array() local
9979 by_ref = elem_ast->attr; in zend_compile_array()
9987 if (by_ref) { in zend_compile_array()
10003 opline->extended_value |= by_ref; in zend_compile_array()
10855 static zend_op *zend_compile_var_inner(znode *result, zend_ast *ast, uint32_t type, bool by_ref) in zend_compile_var_inner() argument
10875 return zend_compile_dim(result, ast, type, by_ref); in zend_compile_var_inner()
10878 return zend_compile_prop(result, ast, type, by_ref); in zend_compile_var_inner()
10880 return zend_compile_static_prop(result, ast, type, by_ref, 0); in zend_compile_var_inner()
10905 static zend_op *zend_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref) /* {{{ */ in zend_compile_var() argument
10908 zend_op *opcode = zend_compile_var_inner(result, ast, type, by_ref); in zend_compile_var()
10913 static zend_op *zend_delayed_compile_var(znode *result, zend_ast *ast, uint32_t type, bool by_ref) … in zend_delayed_compile_var() argument
10919 return zend_delayed_compile_dim(result, ast, type, by_ref); in zend_delayed_compile_var()
10924 if (by_ref) { in zend_delayed_compile_var()
10930 return zend_compile_static_prop(result, ast, type, by_ref, 1); in zend_delayed_compile_var()