Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64993 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49225 invoked from network); 16 Jan 2013 08:57:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2013 08:57:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain zend.com does not designate 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:52275] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/61-37773-56B66F05 for ; Wed, 16 Jan 2013 03:57:10 -0500 Received: by mail-ob0-f170.google.com with SMTP id wp18so1127053obc.29 for ; Wed, 16 Jan 2013 00:57:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=3MMfCd+O6Z07N+SHVzO3+Oa0hfYZ64fmsCBItnPYq0E=; b=Qw1dx8k0JQdSFQRWo7uZX+Prijco7vkcB4Hw8Bw7NSwiSDe7zL4lpVp0Th72S1lj/r PLg+M5U+yEXFcULQZdNKIzFT+3gbiWNklw+mI066jHolZA+d1TO4SDmhpF5nscfpwyxe LIrFRlgvz3dBcseuOjOLSvlSI8o9F6ebL0BPDzYKva5BsGFN7UvY491THUNjicuBXQoX CyESNmlAlvO2ZjHE0zvfKZZvJAf4r+XB3PB2Mw0zJ3tm4wjriBXp0vZ9+xBBFZSJG16D ax55zPkrt4TREkDlwjnX+ZErZt0TpZBMOvTLzz2b8BgVrKaZHb866CpbkZ/MSGQceOmD AtRQ== MIME-Version: 1.0 X-Received: by 10.60.30.231 with SMTP id v7mr280756oeh.22.1358326626696; Wed, 16 Jan 2013 00:57:06 -0800 (PST) Received: by 10.182.97.198 with HTTP; Wed, 16 Jan 2013 00:57:06 -0800 (PST) In-Reply-To: <50F3BFBA.9070701@sugarcrm.com> References: <50F3BFBA.9070701@sugarcrm.com> Date: Wed, 16 Jan 2013 11:57:06 +0300 Message-ID: To: Stas Malyshev Cc: PHP Internals Content-Type: multipart/alternative; boundary=e89a8ff1c2c212bf2804d3641056 X-Gm-Message-State: ALoCoQmWq0M/ddyXxSZhd231fieYrhC0IZ+vpBQPG7WZwElqWkrUki+cmuNAAaJl33BZsVM4xsUKhdwTc+S48pDztV0Av1IY8JXXoJ8SBNLt83omY4ow6N5MKOiuf1Tx8MwRQYpcI8Px Subject: Re: Fix for duplicate magic methods calls (bug #63462) From: dmitry@zend.com (Dmitry Stogov) --e89a8ff1c2c212bf2804d3641056 Content-Type: text/plain; charset=UTF-8 Hi Stas, I think the patch is correct and should be committed into 5.3 and above. Thanks. Dmitry. On Mon, Jan 14, 2013 at 12:20 PM, Stas Malyshev wrote: > Hi! > > I made a fix for bug #63462 - https://github.com/php/php-src/pull/258 - > which changes a bit how we do guards by unmangling the names before > applying guards. This is a slight change of behavior and also means that > all private vars with the same name would use the same guard (all > protected and public vars with the same name are the same var anyway, so > they should be doing it in any case). > Since it's a behavior change in core, I'd appreciate a second pair of > eyes to see if nothing is broken by it. All tests pass but better safe > then sorry. If no problems found in it, I'll commit it soon. > > Thanks, > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > --e89a8ff1c2c212bf2804d3641056--