]> granicus.if.org Git - php/commitdiff
Fixed tests
authorDmitry Stogov <dmitry@php.net>
Thu, 18 Aug 2005 06:32:39 +0000 (06:32 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 18 Aug 2005 06:32:39 +0000 (06:32 +0000)
ext/standard/tests/strings/bug29119.phpt
ext/standard/tests/strings/str_word_count.phpt

index 8b419b81a15516cb2462f158ba344450de07049e..0ca68ce973bb629860cf4a85f096cc9c4722659a 100644 (file)
@@ -6,3 +6,5 @@ var_dump(bin2hex(html_entity_decode('&ensp;&thinsp;&lsquo;&dagger;&prime;&frasl;
 ?>
 --EXPECT--
 string(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
+--UEXPECT--
+unicode(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
index 0c6c5ae5660a813e8e51fef97e18329b441a6855..2e5d15d54aa47e151bfc439a39aebe61033ba72c 100644 (file)
@@ -78,7 +78,7 @@ Warning: str_word_count() expects parameter 2 to be long, array given in %s on l
 Warning: Wrong parameter count for str_word_count() in %s on line 13
 NULL
 
-Warning: str_word_count() expects parameter 2 to be long, string given in %s on line 14
+Warning: str_word_count() expects parameter 2 to be long, native string given in %s on line 14
 
 Warning: Wrong parameter count for str_word_count() in %s on line 14
 NULL
@@ -88,12 +88,12 @@ int(5)
 int(6)
 int(5)
 
-Warning: str_word_count() expects parameter 3 to be string, array given in %s on line 21
+Warning: str_word_count() expects parameter 3 to be native string, array given in %s on line 21
 
 Warning: Wrong parameter count for str_word_count() in %s on line 21
 NULL
 
-Warning: str_word_count() expects parameter 3 to be string, object given in %s on line 22
+Warning: str_word_count() expects parameter 3 to be native string, object given in %s on line 22
 
 Warning: Wrong parameter count for str_word_count() in %s on line 22
 NULL
@@ -137,12 +137,12 @@ array(5) {
   string(3) "foo"
 }
 
-Warning: str_word_count() expects parameter 3 to be string, array given in %s on line 27
+Warning: str_word_count() expects parameter 3 to be native string, array given in %s on line 27
 
 Warning: Wrong parameter count for str_word_count() in %s on line 27
 NULL
 
-Warning: str_word_count() expects parameter 3 to be string, object given in %s on line 28
+Warning: str_word_count() expects parameter 3 to be native string, object given in %s on line 28
 
 Warning: Wrong parameter count for str_word_count() in %s on line 28
 NULL
@@ -201,12 +201,12 @@ array(5) {
   string(3) "foo"
 }
 
-Warning: str_word_count() expects parameter 3 to be string, array given in %s on line 33
+Warning: str_word_count() expects parameter 3 to be native string, array given in %s on line 33
 
 Warning: Wrong parameter count for str_word_count() in %s on line 33
 NULL
 
-Warning: str_word_count() expects parameter 3 to be string, object given in %s on line 34
+Warning: str_word_count() expects parameter 3 to be native string, object given in %s on line 34
 
 Warning: Wrong parameter count for str_word_count() in %s on line 34
 NULL