felipe Sat Feb 2 03:15:47 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/array array_map_variation15.phpt
array_map_variation14.phpt
array_map_variation12.phpt
Log:
Fix tests (new error message)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_map_variation15.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_map_variation15.phpt
diff -u php-src/ext/standard/tests/array/array_map_variation15.phpt:1.1.2.2
php-src/ext/standard/tests/array/array_map_variation15.phpt:1.1.2.3
--- php-src/ext/standard/tests/array/array_map_variation15.phpt:1.1.2.2 Thu Jan
3 09:43:45 2008
+++ php-src/ext/standard/tests/array/array_map_variation15.phpt Sat Feb 2
03:15:46 2008
@@ -25,6 +25,6 @@
--EXPECTF--
*** Testing array_map() : non existent 'callback' function ***
-Warning: array_map() expects parameter 1 to be valid callback, string given in
%s on line %d%d
+Warning: array_map() expects parameter 1 to be a valid callback, function
'non_existent' not found or invalid function name in %s on line %d
NULL
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_map_variation14.phpt?r1=1.1.2.4&r2=1.1.2.5&diff_format=u
Index: php-src/ext/standard/tests/array/array_map_variation14.phpt
diff -u php-src/ext/standard/tests/array/array_map_variation14.phpt:1.1.2.4
php-src/ext/standard/tests/array/array_map_variation14.phpt:1.1.2.5
--- php-src/ext/standard/tests/array/array_map_variation14.phpt:1.1.2.4 Sat Feb
2 01:48:29 2008
+++ php-src/ext/standard/tests/array/array_map_variation14.phpt Sat Feb 2
03:15:46 2008
@@ -116,7 +116,7 @@
}
-- with empty string --
-Warning: array_map() expects parameter 1 to be a valid callback, function
'(null)' not found or invalid function name in %s on line %d
+Warning: array_map() expects parameter 1 to be a valid callback, function ''
not found or invalid function name in %s on line %d
NULL
-- with empty array --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_map_variation12.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_map_variation12.phpt
diff -u php-src/ext/standard/tests/array/array_map_variation12.phpt:1.1.2.2
php-src/ext/standard/tests/array/array_map_variation12.phpt:1.1.2.3
--- php-src/ext/standard/tests/array/array_map_variation12.phpt:1.1.2.2 Thu Jan
3 09:43:45 2008
+++ php-src/ext/standard/tests/array/array_map_variation12.phpt Sat Feb 2
03:15:46 2008
@@ -40,11 +40,11 @@
}
-- with built-in function 'pow' and one parameter --
-Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d%d
+Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
-Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d%d
+Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
-Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d%d
+Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
array(3) {
[0]=>
NULL
@@ -55,6 +55,6 @@
}
-- with language construct --
-Warning: array_map() expects parameter 1 to be valid callback, string given in
%s on line %d%d
+Warning: array_map() expects parameter 1 to be a valid callback, function
'echo' not found or invalid function name in %s on line %d
NULL
Done
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php