[PATCH] LSB - new patches for forward_static_call and parent:: forwarding (was: 5.3 Release Planning)

From: Date: Thu, 13 Mar 2008 04:14:22 +0000
Subject: [PATCH] LSB - new patches for forward_static_call and parent:: forwarding (was: 5.3 Release Planning)
Groups: php.internals 
Request: Send a blank email to internals+get-36112@lists.php.net to get a copy of this message
On Tue, Mar 11, 2008 at 8:42 PM, Mike Lively <m@digitalsandwich.com> wrote: > If this could be overcame I think it would be relatively easy to > consolidate this code internally. I will look at it this evening and > tomorrow. > New patches attached. I have fixed the forward_static_call (I am not attached to the name and am open to suggestions) patch to use a callable. in doing this I also added an additional check to make sure the called_class is only forwarded if the class whose method being called is an ancestor of the current class. If that is not the case, then the behaviour will actually be identical to call_user_func*. I created against patch for both 5_3 and 6. I have also updated and attached that parent forwarding patch for both 5_3 and 6. In the event that someone wants to look at that. - Mike Lively

Attachment: [text/x-patch] lsb.forward_static_call.v2.patch
Attachment: [text/x-patch] lsb.forward_static_call.v2.php53.patch
Attachment: [text/x-patch] lsb.parent-forwarding.v2.php53.patch
Attachment: [text/x-patch] lsb.parent-forwarding.v2.patch
« previous php.internals (#36112) next »