summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--ext/standard/string.c2
2 files changed, 2 insertions, 2 deletions
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;