Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36202 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18679 invoked from network); 18 Mar 2008 23:04:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Mar 2008 23:04:16 -0000 Authentication-Results: pb1.pair.com header.from=ekneuss@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=ekneuss@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.170.189 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ekneuss@gmail.com X-Host-Fingerprint: 64.233.170.189 rn-out-0910.google.com Received: from [64.233.170.189] ([64.233.170.189:46067] helo=rn-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/F5-06623-E6A40E74 for ; Tue, 18 Mar 2008 18:04:15 -0500 Received: by rn-out-0910.google.com with SMTP id v46so162197rnb.15 for ; Tue, 18 Mar 2008 16:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=+QomsAVh3pZodN/mqzwaGvoig46oSTWvFn7W4SP2NSw=; b=b79xdW8Sr88nptgkOcRhRFbhnPzhnInzo3IQsDxGJBaSCHIskNIrTfuKAxdfg6aU0m4J9DPQ1twduy3O5FTX58UaXu2xThf4rSnui8Mk5lvQ/I0DweC5P1+Zel+bZloONElkUQ869p174sfjJgHYswdSj5fVfsf7oTN/krEc2K4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=umdeMYbmIuTuWdMRBa0xoV3tYyX8tBiBN5r8ukdJIcCNaBBhf+lTDFcA5Qff2bicz0V0VEDcMtcVvzIg1Js20QfaX/7AEqfDDj/VAFt03kLUF0N4l5ahRlpfCLxH+1Nw0hmQzYG9bYuLVTk6O/MkZB5ZYp4LZD1rLPlqCIDayEs= Received: by 10.150.201.13 with SMTP id y13mr1357742ybf.53.1205881452038; Tue, 18 Mar 2008 16:04:12 -0700 (PDT) Received: by 10.151.39.1 with HTTP; Tue, 18 Mar 2008 16:04:11 -0700 (PDT) Message-ID: Date: Wed, 19 Mar 2008 00:04:11 +0100 Sender: ekneuss@gmail.com To: "Mike Lively" Cc: "PHP Internals List" In-Reply-To: <8d7b8c130803181155i78702123o8ab91e047bf54132@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8d7b8c130803122114i1062a961t99c49c06867803e3@mail.gmail.com> <8d7b8c130803130648w112c4184l35482341bfeb7a9e@mail.gmail.com> <8d7b8c130803181155i78702123o8ab91e047bf54132@mail.gmail.com> X-Google-Sender-Auth: f781e20abbf30992 Subject: Re: [PHP-DEV] Re: [PATCH] LSB - new patches for forward_static_call and parent:: forwarding (was: 5.3 Release Planning) From: colder@php.net ("Etienne Kneuss") Hello, the forward_static_call looks like a decent non-intrusive solution, and your patch looks good from what I can tell! I guess you should commit it so it can be documented and all. regards On Tue, Mar 18, 2008 at 7:55 PM, Mike Lively wrote: > 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... > -- Etienne Kneuss http://www.colder.ch Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascal