cvs: php-src /ext/standard/tests/strings bug29119.phpt str_word_count.phpt
| From: | Dmitry Stogov | Date: | Thu, 18 Aug 2005 06:32:40 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/strings bug29119.phpt str_word_count.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33531@lists.php.net to get a copy of this message | ||
dmitry Thu Aug 18 02:32:40 2005 EDT
Modified files:
/php-src/ext/standard/tests/strings bug29119.phpt
str_word_count.phpt
Log:
Fixed tests
http://cvs.php.net/diff.php/php-src/ext/standard/tests/strings/bug29119.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/standard/tests/strings/bug29119.phpt
diff -u php-src/ext/standard/tests/strings/bug29119.phpt:1.2
php-src/ext/standard/tests/strings/bug29119.phpt:1.3
--- php-src/ext/standard/tests/strings/bug29119.phpt:1.2 Mon Jul 19 14:49:20 2004
+++ php-src/ext/standard/tests/strings/bug29119.phpt Thu Aug 18 02:32:39 2005
@@ -6,3 +6,5 @@
?>
--EXPECT--
string(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
+--UEXPECT--
+unicode(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
http://cvs.php.net/diff.php/php-src/ext/standard/tests/strings/str_word_count.phpt?r1=1.4&r2=1.5&ty=u
Index: php-src/ext/standard/tests/strings/str_word_count.phpt
diff -u php-src/ext/standard/tests/strings/str_word_count.phpt:1.4
php-src/ext/standard/tests/strings/str_word_count.phpt:1.5
--- php-src/ext/standard/tests/strings/str_word_count.phpt:1.4 Sat Jul 23 15:44:12 2005
+++ php-src/ext/standard/tests/strings/str_word_count.phpt Thu Aug 18 02:32:39 2005
@@ -78,7 +78,7 @@
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(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 @@
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 @@
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