Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43116 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51658 invoked from network); 19 Feb 2009 14:41:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2009 14:41:37 -0000 Authentication-Results: pb1.pair.com header.from=quickshiftin@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=quickshiftin@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.180 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: quickshiftin@gmail.com X-Host-Fingerprint: 209.85.217.180 mail-gx0-f180.google.com Received: from [209.85.217.180] ([209.85.217.180:61403] helo=mail-gx0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/41-42696-0AF6D994 for ; Thu, 19 Feb 2009 09:41:36 -0500 Received: by gxk28 with SMTP id 28so991160gxk.23 for ; Thu, 19 Feb 2009 06:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=UpcHfh43vjNU/ReFCx/FxJeznUrWAxAn16K3MfNJaFo=; b=lR8xc0DOHILW+YDwOKgNT+zBAFfzcs5LBNLmMlMG8Jt3tJC/atcy7DxTwaAC4P859R hLyDCWniSZ53vLiD/dgUrXj79Sh3aIszrG7BsmKi5wX84Axxn+ZbqTvSQA3jukzmxmpi CM+R1HhhS1oARk89IXEgAYnz7tLYcmjHaJyWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HdCkB8xLv5Fh06xQjzS7t+Lc5JpHi7KkznjFwd4c5NysEkImRTurFkJnMkarutVGK1 Fx5qpCCjgHd352w7f+lFq7rEbzmmL30aheqze83Jpgb+SMjP4e0zMvAdWI1ONTzggNEQ Czey0W3DieWHIcZRqIehPpMXppHalQuv3oREc= MIME-Version: 1.0 Received: by 10.231.30.198 with SMTP id v6mr852565ibc.22.1235054493018; Thu, 19 Feb 2009 06:41:33 -0800 (PST) In-Reply-To: <1235041029.5869.28.camel@goldfinger> References: <7dd2dc0b0902172008g5a634577pad280d1f0415453b@mail.gmail.com> <499BC82B.2000000@daylessday.org> <1234963004.5869.6.camel@goldfinger> <7dd2dc0b0902180631q359a189aj5e4c54ef96d7f8e0@mail.gmail.com> <8210197104.20090219001447@marcus-boerger.de> <1235041029.5869.28.camel@goldfinger> Date: Thu, 19 Feb 2009 07:41:32 -0700 Message-ID: <7dd2dc0b0902190641i33552daaj5a44b35923a5a96a@mail.gmail.com> To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Marcus Boerger , Antony Dovgal , internals@lists.php.net, Pierre Joye Content-Type: multipart/alternative; boundary=000325579e8255aa390463468873 Subject: Re: [PHP-DEV] zend_call_method() - support for up to 4 parameters From: quickshiftin@gmail.com (Nathan Nobbe) --000325579e8255aa390463468873 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit did you guys see the other patch i posted yesterday? i re-read Johannes' first reply yesterday and saw the bit about a second api for a zend_call_method with a variable number of parameters. so a made a new function then re-implemented zend_call_method based on that. heres the patch (easier to read on pastebin). http://pastebin.com/m4fd58822 im sure it could be tweaked, but i think the main point is using an array rather than va_list to support the varialbe arg list. is this any better than the first one ? thanks, -nathan --000325579e8255aa390463468873--