summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_rand_variation5.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_rand_variation5.phpt')
-rw-r--r--ext/standard/tests/array/array_rand_variation5.phpt30
1 files changed, 0 insertions, 30 deletions
diff --git a/ext/standard/tests/array/array_rand_variation5.phpt b/ext/standard/tests/array/array_rand_variation5.phpt
index 0ec34900e7..e578d81252 100644
--- a/ext/standard/tests/array/array_rand_variation5.phpt
+++ b/ext/standard/tests/array/array_rand_variation5.phpt
@@ -72,33 +72,3 @@ NULL
Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array in %s on line %d
NULL
Done
-
---UEXPECTF--
-*** Testing array_rand() : with invalid values for 'req_num' ***
-
--- With default num_req value --
-int(%d)
-
--- With num_req = 1 --
-int(%d)
-
--- With num_req = 0 --
-
-Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array in %s on line %d
-NULL
-
--- With num_req = -1 --
-
-Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array in %s on line %d
-NULL
-
--- With num_req = -2 --
-
-Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array in %s on line %d
-NULL
-
--- With num_req more than number of members in 'input' array --
-
-Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array in %s on line %d
-NULL
-Done