Electronics & Programming

develissimo

Open Source electronics development and programming

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

#1 March 18, 2008 19:56:26

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

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


On Thu, Mar 13, 2008 at 6:48 AM, Mike Lively <> wrote:

>
> New patches can be found at
>http://www.digitalsandwich.com/Patches/index.html>
> 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 (PLEASE??? ;)).
>
> - Mike Lively
>

Has anyone had a chance to look at this? I don't want to forget about it
again or before I know it 5.3 RCs will be out and I will have missed the
boat...again...

Offline

#2 March 19, 2008 23:03:49

Stanislav M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

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


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 andam open to suggestions) patch to use a callable. In doing this I alsoLooks fine. Would this function solve the problem without additionalpatches?In any case, I do not see why we can't have such function if it'sneeded. Only thing is there should be some tests added for it (andeventually the docs too ;)--
Stanislav Malyshev, Zend Software Architect
http://www.zend.com/(408)253-8829 MSN:

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [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