summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-09-19 09:07:56 +0000
committerAntony Dovgal <tony2001@php.net>2006-09-19 09:07:56 +0000
commit0fe381cd70cff2c6a9fc03987a38fcb83a2969d8 (patch)
tree6c9a35802193d4fe22c6573140f731e916756f97
parentdba1f1d42fbb8ded47935928df8908084a05c855 (diff)
downloadphp-git-0fe381cd70cff2c6a9fc03987a38fcb83a2969d8.tar.gz
fix tests
-rw-r--r--ext/standard/tests/array/array_walk.phpt6
-rw-r--r--ext/standard/tests/array/array_walk_recursive1.phpt6
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/array/array_walk.phpt b/ext/standard/tests/array/array_walk.phpt
index 3a9227fa3b..7c0969eb96 100644
--- a/ext/standard/tests/array/array_walk.phpt
+++ b/ext/standard/tests/array/array_walk.phpt
@@ -31,11 +31,11 @@ try {
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)
diff --git a/ext/standard/tests/array/array_walk_recursive1.phpt b/ext/standard/tests/array/array_walk_recursive1.phpt
index 4dd8f315bd..c3326581ce 100644
--- a/ext/standard/tests/array/array_walk_recursive1.phpt
+++ b/ext/standard/tests/array/array_walk_recursive1.phpt
@@ -31,11 +31,11 @@ try {
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)