cvs: php-src(PHP_5_2) /ext/standard/tests/array array_walk.phpt array_walk_recursive1.phpt

From: Date: Tue, 19 Sep 2006 09:07:56 +0000
Subject: cvs: php-src(PHP_5_2) /ext/standard/tests/array array_walk.phpt array_walk_recursive1.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40580@lists.php.net to get a copy of this message
tony2001 Tue Sep 19 09:07:56 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard/tests/array array_walk.phpt array_walk_recursive1.phpt Log: fix tests http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_walk.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/standard/tests/array/array_walk.phpt diff -u php-src/ext/standard/tests/array/array_walk.phpt:1.1.2.2 php-src/ext/standard/tests/array/array_walk.phpt:1.1.2.3 --- php-src/ext/standard/tests/array/array_walk.phpt:1.1.2.2 Thu Sep 7 11:48:30 2006 +++ php-src/ext/standard/tests/array/array_walk.phpt Tue Sep 19 09:07:56 2006 @@ -31,11 +31,11 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: Wrong parameter count for array_walk() in %s on line %d +Warning: array_walk() expects at least 2 parameters, 0 given in %s on line %d NULL -Warning: array_walk(): The argument should be an array in %s on line %d -bool(false) +Warning: array_walk() expects parameter 1 to be array, integer given in %s on line %d +NULL bool(true) int(1) int(0) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_walk_recursive1.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/standard/tests/array/array_walk_recursive1.phpt diff -u php-src/ext/standard/tests/array/array_walk_recursive1.phpt:1.1.2.2 php-src/ext/standard/tests/array/array_walk_recursive1.phpt:1.1.2.3 --- php-src/ext/standard/tests/array/array_walk_recursive1.phpt:1.1.2.2 Thu Sep 7 11:48:30 2006 +++ php-src/ext/standard/tests/array/array_walk_recursive1.phpt Tue Sep 19 09:07:56 2006 @@ -31,11 +31,11 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: Wrong parameter count for array_walk_recursive() in %s on line %d +Warning: array_walk_recursive() expects at least 2 parameters, 0 given in %s on line %d NULL -Warning: array_walk_recursive(): The argument should be an array in %s on line %d -bool(false) +Warning: array_walk_recursive() expects parameter 1 to be array, integer given in %s on line %d +NULL bool(true) int(1) int(0)

« previous php.cvs (#40580) next »