summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/end.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/end.phpt')
-rw-r--r--ext/standard/tests/array/end.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/array/end.phpt b/ext/standard/tests/array/end.phpt
index da9422395e..b0475de172 100644
--- a/ext/standard/tests/array/end.phpt
+++ b/ext/standard/tests/array/end.phpt
@@ -223,16 +223,16 @@ resource(%d) of type (stream)
*** Testing error conditions ***
-Warning: Wrong parameter count for end() in %s on line %d
+Warning: end() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for end() in %s on line %d
+Warning: end() expects exactly 1 parameter, 2 given in %s on line %d
NULL
-Warning: end(): Passed variable is not an array or object in %s on line %d
-bool(false)
+Warning: end() expects parameter 1 to be array, integer given in %s on line %d
+NULL
-Warning: end(): Passed variable is not an array or object in %s on line %d
-bool(false)
+Warning: end() expects parameter 1 to be array, string given in %s on line %d
+NULL
bool(false)
Done