Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64353 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46728 invoked from network); 19 Dec 2012 06:45:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Dec 2012 06:45:42 -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=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain zend.com does not designate 209.85.214.173 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.214.173 mail-ob0-f173.google.com Received: from [209.85.214.173] ([209.85.214.173:58696] helo=mail-ob0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/51-33799-59261D05 for ; Wed, 19 Dec 2012 01:45:42 -0500 Received: by mail-ob0-f173.google.com with SMTP id xn12so1602507obc.18 for ; Tue, 18 Dec 2012 22:45:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=cVrW/+E7qYgMqCiH+V6JXIQMEkBAJUFiPEP4qfbJW+s=; b=VXIvg4s7/V3j9Lw6hnZ00DclmEKv6ShaChYeStcrTVFXcIU4FBHqDs2PPGhobAMbnQ maC42Mvmrcku6IXb9T+tb3dOHBl3sfpbm0DxHgXl4ec29aXGIhmYE+Njvw480loC3GN/ MQtfGuFfKxzSyRF3WnhnJbLAaKXxS36uW09ehbQgMr6ciaq4clxI0Boux6TVH9GdEzqF dqU+Wv7AzlEf4KaAQGtkt1HJrM4MLmN1upjKRf0gZxuFu7www2utwoF38sTbDYy9uF4r pfhhwjjXTjxR57Y0fh+ThZF0Dmrk7z7qOMTiME6uCjusZtLI3fr6+3o5PhRDntQuSZTn kg6g== MIME-Version: 1.0 Received: by 10.182.36.8 with SMTP id m8mr3942023obj.93.1355899539034; Tue, 18 Dec 2012 22:45:39 -0800 (PST) Received: by 10.182.214.106 with HTTP; Tue, 18 Dec 2012 22:45:38 -0800 (PST) In-Reply-To: <50D0DF5A.5030003@sugarcrm.com> References: <50D0DF5A.5030003@sugarcrm.com> Date: Wed, 19 Dec 2012 09:45:38 +0300 Message-ID: To: Stas Malyshev Cc: PHP Internals Content-Type: multipart/alternative; boundary=f46d044470af60120b04d12ef612 X-Gm-Message-State: ALoCoQm8nvDlbprz9iov44Uq5+CQtmkqX3UcHAHZxpVIEfZ/QbvzuaVrAE1wJ96yAIYLL0g3rLJiICZ+34yk3DMCjsdrcyCZ/c5tgULl0wWXT6BYbKGsbWYfELKoTGu9c3LaNArPjaqv Subject: Re: [PHP-DEV] Complete traits redesign for 5.5 From: dmitry@zend.com (Dmitry Stogov) --f46d044470af60120b04d12ef612 Content-Type: text/plain; charset=UTF-8 Hi Stas, On Wed, Dec 19, 2012 at 1:25 AM, Stas Malyshev wrote: > Hi! > > > I'm going to take a deep look into trait implementation and provide a > > better solution for 5.5. > > The current implementation is really wired and makes a lot of troubles > for > > maintenance and each new fix, makes new troubles :( > > I'm really sorry, I didn't pay enough attention to treats before 5.4 > > release :( > > > > The new solution may significantly change implementation and even > behavior > > in some cases (e.g https://bugs.php.net/bug.php?id=62069). > > Thanks for looking into it! Could you write some description of what > functionality changes are needed and why? An RFC would be helpful, so we > have a definite reference and instead of going through all bug comments > and risking missing something. > For now I don't know exactly, what is going to be changed, but it must be mainly implementation. I'll try to summarize the required changes, when I know myself. > BTW, could you after that take a look at bug #63462? It's kind of weird, > and part of it with protected seems to be a bug (same property name is > used both mangled and unmangled when using guards) but I'm not sure yet > what to do with it. I may have time to look into it on the weekend, but > would appreciate second opinion. > Sure. Assigned to myself. Thanks. Dmitry. > Thanks, > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > --f46d044470af60120b04d12ef612--