From: Andrei Zmievski Date: Tue, 14 Dec 1999 03:25:04 +0000 (+0000) Subject: Boo. X-Git-Tag: PRE_RETURN_REF_MERGE~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ebba516a314abb61cb8cae7ba54a07877cae3ab;p=php Boo. --- diff --git a/NEWS b/NEWS index c01afa43fe..36e6b2af40 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ PHP 4.0 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ?? ????, Version 4.0 Beta 4 -- Made strspn() and strcspn() binary-safe. +- Made strspn() and strcspn() binary-safe. (Andrei) - Added array_multisort() function. (Andrei) - Made pageinfo.c thread-safe (Sascha) - Made implode() binary-safe (Andrei) diff --git a/ext/standard/string.c b/ext/standard/string.c index cfea7aa4d7..4e5218dd76 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -103,7 +103,7 @@ PHP_FUNCTION(strspn) Find length of initial segment consisting entirely of characters not found in mask */ PHP_FUNCTION(strcspn) { - pval **s1,**s2; + zval **s1,**s2; if (ARG_COUNT(ht)!=2 || getParametersEx(2, &s1, &s2) == FAILURE) { WRONG_PARAM_COUNT;