Re: [PHP4BETA] cvs: /php4/ext/recode Makefile.in config.m4 php_recode.h recode.c setup.stub /php4 acinclude.m4
| From: | Evan Klinger | Date: | Sun, 12 Mar 2000 01:56:46 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/recode Makefile.in config.m4 php_recode.h recode.c setup.stub /php4 acinclude.m4 | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11930@lists.php.net to get a copy of this message | ||
chagenbu@wso.williams.edu wrote:
>
> Quoting Andrei Zmievski <andrei@ispi.net>:
>
> > Because you're supposed to do:
> >
> > if (ARG_COUNT(ht) != 2 || zend_get_parameters_ex(2, &req, &str) == FAILURE) {
> > WRONG_PARAM_COUNT;
> > }
>
> Should we be using zend_get_parameters_ex() instead of getParameters() ?
Yes. As well as the convert_to_*_ex() functions.
--
ev
----------------------------
Evan Klinger evan@php.net
AIM evan715