moriyoshi Sun Feb 15 07:04:59 2009 UTC
Modified files:
/php-src/ext/standard/tests/strings bug40754.phpt
strripos_offset.phpt
strrpos_basic2.phpt
strrpos_offset.phpt
strrpos_variation1.phpt
strrpos_variation11.phpt
strrpos_variation12.phpt
strrpos_variation13.phpt
strrpos_variation14.phpt
strrpos_variation15.phpt
strrpos_variation2.phpt
strrpos_variation8.phpt
Log:
- Fix tests.
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/bug40754.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/strings/bug40754.phpt
diff -u php-src/ext/standard/tests/strings/bug40754.phpt:1.5
php-src/ext/standard/tests/strings/bug40754.phpt:1.6
--- php-src/ext/standard/tests/strings/bug40754.phpt:1.5 Tue May 27
10:50:45 2008
+++ php-src/ext/standard/tests/strings/bug40754.phpt Sun Feb 15 07:04:59 2009
@@ -53,10 +53,10 @@
Warning: stripos(): Offset not contained in string in %s on line %d
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
int(2)
unicode(8) "abcdeabc"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strripos_offset.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strripos_offset.phpt
diff -u php-src/ext/standard/tests/strings/strripos_offset.phpt:1.3
php-src/ext/standard/tests/strings/strripos_offset.phpt:1.4
--- php-src/ext/standard/tests/strings/strripos_offset.phpt:1.3 Tue May 27
10:50:47 2008
+++ php-src/ext/standard/tests/strings/strripos_offset.phpt Sun Feb 15
07:04:59 2009
@@ -16,30 +16,30 @@
echo "Done\n";
?>
--EXPECTF--
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
Warning: strripos() expects parameter 1 to be string (Unicode or binary),
array given in %s on line %d
bool(false)
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
-Notice: strripos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strripos(): Offset is greater than the length of haystack string in
%s on line %d
bool(false)
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_basic2.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_basic2.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_basic2.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_basic2.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_basic2.phpt:1.3 Tue May 27
10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_basic2.phpt Sun Feb 15
07:04:59 2009
@@ -45,7 +45,7 @@
bool(false)
int(0)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
int(8)
int(8)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_offset.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_offset.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_offset.phpt:1.1
php-src/ext/standard/tests/strings/strrpos_offset.phpt:1.2
--- php-src/ext/standard/tests/strings/strrpos_offset.phpt:1.1 Tue Jul 22
01:05:55 2008
+++ php-src/ext/standard/tests/strings/strrpos_offset.phpt Sun Feb 15
07:04:59 2009
@@ -15,27 +15,27 @@
echo "Done\n";
?>
--EXPECTF--
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_variation1.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_variation1.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_variation1.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_variation1.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_variation1.phpt:1.3 Tue May
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_variation1.phpt Sun Feb 15
07:04:59 2009
@@ -179,6 +179,6 @@
-- Iteration 35 --
int(0)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_variation11.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_variation11.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_variation11.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_variation11.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_variation11.phpt:1.3 Tue May
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_variation11.phpt Sun Feb 15
07:04:59 2009
@@ -93,12 +93,12 @@
-- Iteration 1 --
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 2 --
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 3 --
bool(false)
@@ -171,7 +171,7 @@
-- Iteration 15 --
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 16 --
bool(false)
@@ -179,7 +179,7 @@
-- Iteration 17 --
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 18 --
bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_variation12.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_variation12.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_variation12.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_variation12.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_variation12.phpt:1.3 Tue May
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_variation12.phpt Sun Feb 15
07:04:59 2009
@@ -38,7 +38,7 @@
int(11)
int(2)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
int(5)
int(5)
@@ -46,6 +46,6 @@
bool(false)
int(5)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_variation13.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_variation13.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_variation13.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_variation13.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_variation13.phpt:1.3 Tue May
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_variation13.phpt Sun Feb 15
07:04:59 2009
@@ -40,11 +40,11 @@
int(12)
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
bool(false)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
int(0)
bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_variation14.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_variation14.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_variation14.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_variation14.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_variation14.phpt:1.3 Tue May
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_variation14.phpt Sun Feb 15
07:04:59 2009
@@ -90,11 +90,11 @@
int(6)
-- Iteration 2 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 3 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 4 --
int(6)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_variation15.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_variation15.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_variation15.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_variation15.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_variation15.phpt:1.3 Tue May
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_variation15.phpt Sun Feb 15
07:04:59 2009
@@ -92,11 +92,11 @@
bool(false)
-- Iteration 2 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 3 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 4 --
@@ -104,7 +104,7 @@
bool(false)
-- Iteration 5 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 6 --
@@ -140,13 +140,13 @@
bool(false)
-- Iteration 15 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 16 --
bool(false)
-- Iteration 17 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 18 --
bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_variation2.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_variation2.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_variation2.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_variation2.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_variation2.phpt:1.3 Tue May
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_variation2.phpt Sun Feb 15
07:04:59 2009
@@ -183,6 +183,6 @@
-- Iteration 36 --
int(0)
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strrpos_variation8.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/strrpos_variation8.phpt
diff -u php-src/ext/standard/tests/strings/strrpos_variation8.phpt:1.3
php-src/ext/standard/tests/strings/strrpos_variation8.phpt:1.4
--- php-src/ext/standard/tests/strings/strrpos_variation8.phpt:1.3 Tue May
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/strrpos_variation8.phpt Sun Feb 15
07:04:59 2009
@@ -52,14 +52,14 @@
bool(false)
-- Iteration 13 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 14 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
-- Iteration 15 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
+Warning: strrpos(): Offset is greater than the length of haystack string in %s
on line %d
bool(false)
*** Done ***
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php