Re: 5.3 Release Planning
| From: | Mike Lively | Date: | Tue, 11 Mar 2008 01:17:57 +0000 |
| Subject: | Re: 5.3 Release Planning | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36084@lists.php.net to get a copy of this message | ||
On Mon, Mar 10, 2008 at 9:49 AM, Stanislav Malyshev <stas@zend.com> wrote:
> Hi!
>
> > One thing that never really was resolved were the patches I submitted as
> a
> > compromise to some of the early disagreements about late static binding.
>
> I don't think it's a good ideas as it changes the meaning of parent::.
I disagree, the meaning of parent:: is not changed at all relative to php
5.2.*. It behaves exactly the same with the parent forwarding patch. If you
call parent::method() the parent version of the method is still called. It
just provides complete polymorphic calls with static functions which is the
whole purpose for which LSB was even proposed.
Regardless of that, there are two other patches that do the same thing
without altering the behaviour of parent in the current 5.3 code. Though
again, I would think it very unfortunate should we not fix it properly and
just allow parent:: to forward the caller.
>
> --
> Stanislav Malyshev, Zend Software Architect
> stas@zend.com http://www.zend.com/
> (408)253-8829 MSN: stas@zend.com
>