Re: BC break in 5.3.2 -> 5.3.3 with "parent::" and __call/__callStatic
| From: | jvlad | Date: | Wed, 03 Nov 2010 10:29:10 +0000 |
| Subject: | Re: BC break in 5.3.2 -> 5.3.3 with "parent::" and __call/__callStatic | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50090@lists.php.net to get a copy of this message | ||
> > Until version 5.3.2 this worked fine, starting from version 5.3.3
>> parent::getFoo() calls __callStatic() instead of __call().
>>
>> This is a really bad BC change which i thought you decided to accept only
>> in minor versions change and not patch-level versions change.
>>
>> Anyway, I would even be willing to do some changes to my codebase, but
>> what
>> is the solution? I can't see any other way to do this with the obvious
>> assumptions that my design is good and that I don't know anything about
>> the
>> parent class except there is a getFoo() method implemented somehow.
>>
>> My wish is that you restore the 5.3.2 behaviour, which sounds very
>> reasonable, and maybe introduce another way when you actually want to get
>> rid of the context, something like static::
>>
>>
> The change has been reverted in SVN.
>
Great. Is there any chance to see 5.3.4 anytime soon?
-j