Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70546 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10019 invoked from network); 9 Dec 2013 09:27:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2013 09:27:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 209.85.212.170 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:48762] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/73-23208-A1D85A25 for ; Mon, 09 Dec 2013 04:27:55 -0500 Received: by mail-wi0-f170.google.com with SMTP id hq4so3465695wib.1 for ; Mon, 09 Dec 2013 01:27:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=NiyZEka6qPT5jTizs+OA1abtj/S9AzVAfcYjzwcHsDo=; b=E0v+kOFfX0YuGKJk+AB0bEk/RWcWsWTeZJptmWkN+PsNrFJIJcwKn8/o0fdDB7ax5P 7QHap8lGU+CzTP4Y0PW9wQjoQOSC48x/rbmOszeNHiIef9mkgyA7CsSKNVpllwnZZLe3 z5AsKUsn7tVjwHr3Mg8PwKN6qMSRQNd5zNEpvCP1CTeCEp95ydLTfQYGPokXFy1GqKqY FjsCkbEwBXUC4V76SLD1e/E7DG3tL+XGgQVavVKhyAbgUWlSWiE3tfaoV1WQX68sINLl 7IA7uGl+cBdBEHx/r9U3wtHTsqXftCbUvWTR82SSYH9miN0vHcgp4SPNTKujug6Yu0gR xHtA== X-Gm-Message-State: ALoCoQmiQh6S3XPFUCMBp7E81BL+0oyxF/B7xY8eDxFrKilXp68q7TdENAK2ahPS9msEZMmqGU8O8q/UGWLlulzbLZadFZttGSBAwK8MjtJTyVzXFAoiT4ER6cA4IHF7qqN8cLAiLepp MIME-Version: 1.0 X-Received: by 10.180.14.226 with SMTP id s2mr13260210wic.41.1386581271553; Mon, 09 Dec 2013 01:27:51 -0800 (PST) Received: by 10.227.91.198 with HTTP; Mon, 9 Dec 2013 01:27:51 -0800 (PST) In-Reply-To: References: <52A50E18.9070106@sugarcrm.com> Date: Mon, 9 Dec 2013 13:27:51 +0400 Message-ID: To: Ferenc Kovacs Cc: Stas Malyshev , Nikita Popov , PHP Internals Content-Type: multipart/alternative; boundary=f46d04138c9f24cb1704ed169c01 Subject: Re: [PHP-DEV] func_get_args BC break From: dmitry@zend.com (Dmitry Stogov) --f46d04138c9f24cb1704ed169c01 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm completely disagree. That PHP code (in bug report) worked not by design. Actually, it's wrong code that worked just because of luck (zval refcount became 1). I don't see any reason to keep such compatibility for 5.6 in cost of performance. Thanks. Dmitry. On Mon, Dec 9, 2013 at 12:31 PM, Ferenc Kovacs wrote: > > > > On Mon, Dec 9, 2013 at 7:45 AM, Dmitry Stogov wrote: > >> Hi, >> >> I agree that the change makes BC break for some tricky code :( >> and i don't insist to keep it in 5.5. >> >> Thanks. Dmitry. >> >> >> >> >> On Mon, Dec 9, 2013 at 4:26 AM, Stas Malyshev > >wrote: >> >> > Hi! >> > >> > Can we do anything to fix it? Is the problem limited only to >> > pass-object-by-ref or also for other by-ref scenarios? In the latter >> > case it does constitute a BC break I think and it may be a good idea t= o >> > move it to 5.6... >> > >> > >> > > Hi, > > as we agreed that this is a BC break, I don't think that it is a good ide= a > even for 5.6. > could we also create a test for this behavior, so we don't change this > unintentionally later on? > > > -- > Ferenc Kov=C3=A1cs > @Tyr43l - http://tyrael.hu > --f46d04138c9f24cb1704ed169c01--