On Mon, Mar 10, 2008 at 9:49 AM, Stanislav Malyshev <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]   http://www.zend.com/
> (408)253-8829   MSN: [EMAIL PROTECTED]
>

Reply via email to