Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36122 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76521 invoked from network); 13 Mar 2008 13:48:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2008 13:48:11 -0000 Authentication-Results: pb1.pair.com header.from=m@digitalsandwich.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=m@digitalsandwich.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain digitalsandwich.com does not designate 209.85.128.188 as permitted sender) X-PHP-List-Original-Sender: m@digitalsandwich.com X-Host-Fingerprint: 209.85.128.188 fk-out-0910.google.com Received: from [209.85.128.188] ([209.85.128.188:35080] helo=fk-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/CE-34038-99039D74 for ; Thu, 13 Mar 2008 08:48:10 -0500 Received: by fk-out-0910.google.com with SMTP id f33so3329503fkf.7 for ; Thu, 13 Mar 2008 06:48:06 -0700 (PDT) Received: by 10.82.186.5 with SMTP id j5mr23158383buf.38.1205416085530; Thu, 13 Mar 2008 06:48:05 -0700 (PDT) Received: by 10.86.97.10 with HTTP; Thu, 13 Mar 2008 06:48:05 -0700 (PDT) Message-ID: <8d7b8c130803130648w112c4184l35482341bfeb7a9e@mail.gmail.com> Date: Thu, 13 Mar 2008 06:48:05 -0700 To: "Stanislav Malyshev" Cc: "=?ISO-8859-1?Q?Johannes_Schl=FCter?=" , "PHP Internals List" In-Reply-To: <8d7b8c130803122114i1062a961t99c49c06867803e3@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2338_13996466.1205416085538" References: <8d7b8c130803122114i1062a961t99c49c06867803e3@mail.gmail.com> Subject: [PATCH] LSB - new patches for forward_static_call and parent:: forwarding (was: 5.3 Release Planning) From: m@digitalsandwich.com ("Mike Lively") ------=_Part_2338_13996466.1205416085538 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 ------=_Part_2338_13996466.1205416085538--