After the traits refactor, it "fixed" the traits precedence which could use class but not trait that was not intend from the design and manual.
this PR fixes the BC, and the same time deprecate the behavior.
This is a 5.4 only patch.
Fixed bug #64235 (Insteadof not work for class method in 5.4.11)
actually, I was looking into this, I have thought the similar fix of you, but
unfortunatly, it is wrong, thinking of this:
Comment on behalf of laruence at php.net:
wrong fix, this fix need more works than it look like.
What intend output in your code?
http://3v4l.org/UpMCW after the fix, 5.4's behavior is consist
yes, it's consistent, but do you think it's right? do you think it's acceptable ?