Re: cvs: php4 /ext/standard basic_functions.c
| From: | Zak Greant | Date: | Sun, 30 Dec 2001 20:20:01 +0000 |
| Subject: | Re: cvs: php4 /ext/standard basic_functions.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-8868@lists.php.net to get a copy of this message | ||
On 2001-30-12 09:14, you wrote:
> On Sun, Dec 30, 2001 at 09:36:30AM -0000, Zak Greant wrote:
> > - if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &str) ==
> > FAILURE) { - WRONG_PARAM_COUNT;
> > - }
> > - convert_to_string_ex(str);
> > -
> > - if (Z_TYPE_PP(str) != IS_STRING) {
> > + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str,
> > &str_len) == FAILURE) { RETURN_FALSE;
> > }
>
> Shouldn't this still return WRONG_PARAM_COUNT on failure?
Nope - but thanks for checking up on me! These are my first few
sets of real changes and I am nervous as hell! :)
--zak