summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_rand_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_rand_error.phpt')
-rw-r--r--ext/standard/tests/array/array_rand_error.phpt5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/tests/array/array_rand_error.phpt b/ext/standard/tests/array/array_rand_error.phpt
index bdbbfdb016..30cc85ae6c 100644
--- a/ext/standard/tests/array/array_rand_error.phpt
+++ b/ext/standard/tests/array/array_rand_error.phpt
@@ -27,11 +27,12 @@ echo "Done";
-- Testing array_rand() function with Zero arguments --
-Warning: Wrong parameter count for array_rand() in %s on line %d
+Warning: array_rand() expects at least 1 parameter, 0 given in %s on line %d
NULL
-- Testing array_rand() function with more than expected no. of arguments --
-Warning: Wrong parameter count for array_rand() in %s on line %d
+Warning: array_rand() expects at most 2 parameters, 3 given in %s on line %d
NULL
Done
+