cvs: php-src /ext/standard/tests/array array_filter.phpt
| From: | Antony Dovgal | Date: | Tue, 08 Aug 2006 20:13:27 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/array array_filter.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39853@lists.php.net to get a copy of this message | ||
tony2001 Tue Aug 8 20:13:27 2006 UTC
Modified files:
/php-src/ext/standard/tests/array array_filter.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_filter.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/array/array_filter.phpt
diff -u php-src/ext/standard/tests/array/array_filter.phpt:1.1
php-src/ext/standard/tests/array/array_filter.phpt:1.2
--- php-src/ext/standard/tests/array/array_filter.phpt:1.1 Tue Jul 11 21:28:07 2006
+++ php-src/ext/standard/tests/array/array_filter.phpt Tue Aug 8 20:13:27 2006
@@ -82,13 +82,13 @@
array(0) {
}
-Warning: array_filter(): The second argument, 'Array', should be a valid callback in %s
on line %d
+Warning: array_filter() expects parameter 2 to be valid callback, array given in %s on line %d
NULL
-Warning: array_filter(): The first argument should be an array in %s on line %d
+Warning: array_filter() expects parameter 1 to be array, string given in %s on line %d
NULL
-Warning: array_filter(): The second argument, '1', should be a valid callback in %s on
line %d
+Warning: array_filter() expects parameter 2 to be valid callback, integer given in %s on line %d
NULL
== DONE ==
--UEXPECTF--
@@ -141,12 +141,12 @@
array(0) {
}
-Warning: array_filter(): The second argument, 'Array', should be a valid callback in %s
on line %d
+Warning: array_filter() expects parameter 2 to be valid callback, array given in %s on line %d
NULL
-Warning: array_filter(): The first argument should be an array in %s on line %d
+Warning: array_filter() expects parameter 1 to be array, Unicode string given in %s on line %d
NULL
-Warning: array_filter(): The second argument, '1', should be a valid callback in %s on
line %d
+Warning: array_filter() expects parameter 2 to be valid callback, integer given in %s on line %d
NULL
== DONE ==