Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43087 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63962 invoked from network); 18 Feb 2009 08:34:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2009 08:34:59 -0000 Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:52874] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/24-41344-038CB994 for ; Wed, 18 Feb 2009 03:34:57 -0500 Received: from [192.168.3.44] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTPSA id 0EA16D0374; Wed, 18 Feb 2009 11:34:54 +0300 (MSK) Message-ID: <499BC82B.2000000@daylessday.org> Date: Wed, 18 Feb 2009 11:34:51 +0300 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Nathan Nobbe CC: internals@lists.php.net References: <7dd2dc0b0902172008g5a634577pad280d1f0415453b@mail.gmail.com> In-Reply-To: <7dd2dc0b0902172008g5a634577pad280d1f0415453b@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] zend_call_method() - support for up to 4 parameters From: tony@daylessday.org (Antony Dovgal) On 18.02.2009 07:08, Nathan Nobbe wrote: > hi, > > recently, working on an extension, i wanted to call a method w/ 3 params, > and as you know, zend_call_method only supports 2 parameters at most. i > came across this thread in the archives, > > http://marc.info/?l=php-internals&m=120179690310419&w=2 > > so i tossed together a quick patch w/ no emalloc or va_list against the > latest 5.3 snapshot. > > what do you think? What happened to call_user_function() ? Why break the API and make extension maintainers use even more #if's ? -- Wbr, Antony Dovgal