Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] [PATCH] LSB - new patches for forward_static_call and parent:: forwarding (was: 5.3 Release Planning) [RSS Feed]

#1 March 13, 2008 14:48:46

Mike L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

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


On Tue, Mar 11, 2008 at 8:42 PM, Mike Lively <> 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 can be found athttp://www.digitalsandwich.com/Patches/index.htmlI 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 (PLEASE??? ;)).

- Mike Lively

Offline

  • Root
  • » PHP
  • » [PHP-DEV] [PATCH] LSB - new patches for forward_static_call and parent:: forwarding (was: 5.3 Release Planning) [RSS Feed]

Board footer

Moderator control

Enjoy the 16th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support