Lines Matching refs:by_ref

4272 static void zend_compile_static_var_common(zend_ast *var_ast, zval *value, uint32_t by_ref) /* {{{ …  in zend_compile_static_var_common()  argument
4308 …d_value = (uint32_t)((char*)value - (char*)CG(active_op_array)->static_variables->arData) | by_ref; in zend_compile_static_var_common()
4455 zend_bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return() local
4462 by_ref = 0; in zend_compile_return()
4468 } else if (by_ref && zend_is_variable(expr_ast) && !zend_is_call(expr_ast)) { in zend_compile_return()
4475 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
4478 if (by_ref) { in zend_compile_return()
4493 opline = zend_emit_op(NULL, by_ref ? ZEND_RETURN_BY_REF : ZEND_RETURN, in zend_compile_return()
4496 if (by_ref && expr_ast) { in zend_compile_return()
4801 zend_bool by_ref = value_ast->kind == ZEND_AST_REF; in zend_compile_foreach() local
4818 if (by_ref) { in zend_compile_foreach()
4823 by_ref = 1; in zend_compile_foreach()
4826 if (by_ref && is_variable) { in zend_compile_foreach()
4832 if (by_ref) { in zend_compile_foreach()
4837 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
4842 opline = zend_emit_op(NULL, by_ref ? ZEND_FE_FETCH_RW : ZEND_FE_FETCH_R, &reset_node, NULL); in zend_compile_foreach()
4855 } else if (by_ref) { in zend_compile_foreach()
5728 uint32_t by_ref = var_name_ast->attr; in zend_compile_closure_binding() local
5749 …ne->extended_value = (uint32_t)((char*)value - (char*)op_array->static_variables->arData) | by_ref; in zend_compile_closure_binding()
5763 uint32_t by_ref = var_ast->attr; in zend_compile_closure_uses() local
5777 zend_compile_static_var_common(var_ast, &zv, by_ref); in zend_compile_closure_uses()
7707 zend_bool by_ref; in zend_compile_array() local
7716 by_ref = elem_ast->attr; in zend_compile_array()
7724 if (by_ref) { in zend_compile_array()
7740 opline->extended_value |= by_ref; in zend_compile_array()