Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70542 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96935 invoked from network); 9 Dec 2013 06:46:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2013 06:46:05 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 209.85.212.182 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.212.182 mail-wi0-f182.google.com Received: from [209.85.212.182] ([209.85.212.182:46837] helo=mail-wi0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/F0-23208-A2765A25 for ; Mon, 09 Dec 2013 01:46:05 -0500 Received: by mail-wi0-f182.google.com with SMTP id en1so3218305wid.15 for ; Sun, 08 Dec 2013 22:45:59 -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=ClzpMEvurOgQbSXdk6tywg8lCe7PtfIPDsCqiCNXhz8=; b=iXBda7DlhnJkNZg/P3pkajc511t0f6w9jkDy4W7+H1izXBgjgeDViH6hGUByVfbKsC VUI0Y8Jwnlmk0Ne7XaJoSDzZp3B7wufSszqNUioD7c+WCR4YEHUTh8F2+Qp0RHkWGIXY E/YTV/1cVHHn3e99xapSb1eQWbwaOW55Oc/nTanCWTdyA9Xnldeomh6srUYsXO+lYt0O /Li/SeZaSunAPwTwsaefQ1/LXTeAp34HKS64Y7dFkQ8/OAG4LFBQiPRjkhUid3voEc/B iC4CQlxi+tSNBgF4SGwhHiK//RahToZt7cPpIHaOGpiSkM39nLUiqIHKXumgcGg3jx0T b66A== X-Gm-Message-State: ALoCoQkPf3FXt3ccPn2fmSGQdhtFGiSX8E2kfbRVIMiCLIe+G4msF9LEsZ9yGQCv1qnKoA0QdIqPZNrwPDfXxbbImkidbB3HxNz7oagahb2IIXvU579ngMDGhf4Cai2JG0goGnM9/Z0Z MIME-Version: 1.0 X-Received: by 10.194.79.74 with SMTP id h10mr329756wjx.86.1386571559757; Sun, 08 Dec 2013 22:45:59 -0800 (PST) Received: by 10.227.91.198 with HTTP; Sun, 8 Dec 2013 22:45:59 -0800 (PST) In-Reply-To: <52A50E18.9070106@sugarcrm.com> References: <52A50E18.9070106@sugarcrm.com> Date: Mon, 9 Dec 2013 10:45:59 +0400 Message-ID: To: Stas Malyshev Cc: Nikita Popov , PHP Internals Content-Type: multipart/alternative; boundary=047d7bb04a124685ed04ed145940 Subject: Re: [PHP-DEV] func_get_args BC break From: dmitry@zend.com (Dmitry Stogov) --047d7bb04a124685ed04ed145940 Content-Type: text/plain; charset=UTF-8 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 to > move it to 5.6... > > > -------- Original Message -------- > Subject: [PHP-DEV] func_get_args BC break > Date: Sat, 7 Dec 2013 06:15:51 -0600 > From: Nikita Popov > To: PHP internals > > Hi internals! > > The performance optimizations to func_get_args that were introduced in PHP > 5.5.6 break BC for call_user_func_array on functions with by-ref args, see > https://bugs.php.net/bug.php?id=66107. > > While using that kind of code is wrong in the first place, this seems like > a nasty break for a bugfix release. Maybe revert this for 5.5 and only keep > in 5.6? > > Nikita > > > --047d7bb04a124685ed04ed145940--