Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35059 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75959 invoked by uid 1010); 31 Jan 2008 14:58:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75944 invoked from network); 31 Jan 2008 14:58:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2008 14:58:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=fujimoto@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=fujimoto@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 219.94.145.87 as permitted sender) X-PHP-List-Original-Sender: fujimoto@php.net X-Host-Fingerprint: 219.94.145.87 sx.eth.jp Linux 2.4/2.6 Received: from [219.94.145.87] ([219.94.145.87:60160] helo=sx.eth.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/4D-15787-E22E1A74 for ; Thu, 31 Jan 2008 09:58:56 -0500 Received: by sx.eth.jp (Postfix, from userid 1006) id B7425B3170; Thu, 31 Jan 2008 23:58:51 +0900 (JST) Received: from fujimoto-001.local (sx.eth.jp [127.0.0.1]) by sx.eth.jp (Postfix) with ESMTP id 6E92AB316B; Thu, 31 Jan 2008 23:58:51 +0900 (JST) Message-ID: <47A1E22B.6020200@php.net> Date: Thu, 31 Jan 2008 23:58:51 +0900 User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: helly@php.net Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500000, version=0.94.4 Subject: [patch] zend_call_method_with_N_params() From: fujimoto@php.net (Masaki Fujimoto) hello marcus, after a long interval, I've restarted to hack PHP and ZE again, and I found that zend_call_method could take only 2 args at most...(I just wanted to call methods w/ 3 or more args in my extensions:) I think we can easily rewrite this w/ va_list, and since most of the extensions are call zend_call_method() via zend_call_method_with* macro so that no BC breaking things will happen. # AFAIK only spl use zend_call_method() directly and perhaps we can easily sync w/ updated interfaces (TSRM fixes will do) pathces are here: [PHP_5_2 / PHP_5_3] http://labs.gree.jp/data/patch/zend_interfaces_var_list.php_5_2.patch [HEAD] http://labs.gree.jp/data/patch/zend_interfaces_var_list.head.patch # C99 feature (__VA_ARGS__) is used in my patch for HEAD...(is it acceptable?) if this is ok, it's much appreciated if you apply these patches. thank you. -- Masaki Fujimoto