Re: cvs: pecl /newt newt.c
| From: | Michael Spector | Date: | Mon, 16 Aug 2004 13:43:08 +0000 |
| Subject: | Re: cvs: pecl /newt newt.c | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1174@lists.php.net to get a copy of this message | ||
On Mon, Aug 16, 2004 at 09:01:27AM +0100, Wez Furlong wrote:
> Hey Michael,
>
> It sounds like you should be using zend_parse_parameters() instead:
>
> http://www.php.net/manual/en/zend.arguments.retrieval.php
>
Hi,
The problem is that these functions get a variable number of arguments,
like in printf(...):
proto newt_win_ternary (string title, string button1_text, string button2_text, string button3_text,
string format [, mixed args [,mixed...]])
So, I need to "cut" first four arguments, others I pass in an array to the PHP
sprintf() function. I just didn't see a way how could I achieve that by
using zend_parse_parameters() ...
Thanks.
--
Best regards,
Michael