felipe Thu Jul 24 03:30:02 2008 UTC
Modified files:
/php-src/ext/standard/tests/array each.phpt each_error.phpt
Log:
- Fixed tests
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/each.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/standard/tests/array/each.phpt
diff -u php-src/ext/standard/tests/array/each.phpt:1.4
php-src/ext/standard/tests/array/each.phpt:1.5
--- php-src/ext/standard/tests/array/each.phpt:1.4 Mon May 26 23:35:48 2008
+++ php-src/ext/standard/tests/array/each.phpt Thu Jul 24 03:30:02 2008
@@ -692,10 +692,10 @@
*** Testing error conditions ***
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Warning: Variable passed to each() is not an array or object in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/each_error.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/array/each_error.phpt
diff -u php-src/ext/standard/tests/array/each_error.phpt:1.3
php-src/ext/standard/tests/array/each_error.phpt:1.4
--- php-src/ext/standard/tests/array/each_error.phpt:1.3 Mon May 26
23:35:48 2008
+++ php-src/ext/standard/tests/array/each_error.phpt Thu Jul 24 03:30:02 2008
@@ -32,11 +32,11 @@
-- Testing each() function with Zero arguments --
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-- Testing each() function with more than expected no. of arguments --
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php