3v4l.org

run code in 300+ PHP versions simultaneously
<?php function array_rand_secure($array, $num = 1) { if (!is_array($array)) { trigger_error( __FUNCTION__ . "(): expects parameter 1 to be array, " . gettype($array) . " given", E_USER_WARNING ); return null; } $arrayLength = count($array); if ($arrayLength === 0) { trigger_error(__FUNCTION__ . "(): Array is empty", E_USER_WARNING); return null; } if ( filter_var($num, FILTER_VALIDATE_INT) === false || $num <= 0 || ($arrayLength - $num) < 0 ) { trigger_error( __FUNCTION__ . "(): Second argument has to be between 1 and the number of elements in the array", E_USER_WARNING); return null; } $randomIndexes = []; while(count($randomIndexes) < $num) { $randomInt = random_int(0, $arrayLength - 1); if (!in_array($randomInt, $randomIndexes)) $randomIndexes[] = $randomInt; }; $arrayKeys = array_keys($array); $randomKeys = array_map(function ($key) use ($arrayKeys) { return $arrayKeys[$key]; }, $randomIndexes); return count($randomKeys) === 1 ? $randomKeys[0] : $randomKeys; } $tests1 = [ [1, 2, 3, 4, 5, 6, 7, 8, 9], [5, 6, 7], ['a' => 1, 'b' => 2, 'c' => 3], ['zero', 4 => 'four', 9 => 'nine'], ["PEAN"=>0], [], "ABC", 123, ]; foreach ($tests1 as $test) { var_dump(array_rand_secure($test)); } $tests2 = [ ["array" => [1, 2, 3, 4, 5, 6, 7, 8, 9], "num" => 9], ["array" => [1, 2, 3, 4, 5, 6, 7, 8, 9], "num" => 4], ["array" => ['a' => 1, 'b' => 2, 'c' => 3], "num" => 2], ["array" => ['zero', 4 => 'four', 9 => 'nine'], "num" => 2], ["array" => ["PEAN" => 0], "num" => 2], ["array" => [], "num" => 2], ["array" => "ABC", "num" => 2], ["array" => 123, "num" => 2], ["array" => [5, 6, 7], "num" => 0], ]; foreach ($tests2 as $test_data) { var_dump(array_rand_secure($test_data["array"], $test_data["num"])); }
Output for 8.3.2
int(1) int(1) string(1) "c" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(5) [1]=> int(7) [2]=> int(2) [3]=> int(6) [4]=> int(8) [5]=> int(3) [6]=> int(0) [7]=> int(1) [8]=> int(4) } array(4) { [0]=> int(5) [1]=> int(1) [2]=> int(7) [3]=> int(8) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.3.1
int(2) int(2) string(1) "b" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(0) [1]=> int(5) [2]=> int(8) [3]=> int(7) [4]=> int(6) [5]=> int(3) [6]=> int(1) [7]=> int(2) [8]=> int(4) } array(4) { [0]=> int(5) [1]=> int(7) [2]=> int(3) [3]=> int(0) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(9) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.3.0
int(5) int(2) string(1) "b" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(2) [1]=> int(5) [2]=> int(6) [3]=> int(8) [4]=> int(3) [5]=> int(0) [6]=> int(1) [7]=> int(7) [8]=> int(4) } array(4) { [0]=> int(6) [1]=> int(5) [2]=> int(8) [3]=> int(7) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(9) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.15
int(0) int(1) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(4) [1]=> int(1) [2]=> int(3) [3]=> int(2) [4]=> int(7) [5]=> int(5) [6]=> int(8) [7]=> int(0) [8]=> int(6) } array(4) { [0]=> int(1) [1]=> int(4) [2]=> int(3) [3]=> int(7) } array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } array(2) { [0]=> int(0) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.14
int(2) int(2) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(6) [1]=> int(0) [2]=> int(8) [3]=> int(7) [4]=> int(1) [5]=> int(3) [6]=> int(4) [7]=> int(2) [8]=> int(5) } array(4) { [0]=> int(1) [1]=> int(4) [2]=> int(2) [3]=> int(6) } array(2) { [0]=> string(1) "c" [1]=> string(1) "a" } array(2) { [0]=> int(9) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.13
int(3) int(0) string(1) "a" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(5) [1]=> int(8) [2]=> int(3) [3]=> int(1) [4]=> int(7) [5]=> int(4) [6]=> int(0) [7]=> int(6) [8]=> int(2) } array(4) { [0]=> int(4) [1]=> int(1) [2]=> int(3) [3]=> int(2) } array(2) { [0]=> string(1) "c" [1]=> string(1) "a" } array(2) { [0]=> int(9) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.12
int(6) int(1) string(1) "c" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(0) [1]=> int(1) [2]=> int(4) [3]=> int(7) [4]=> int(6) [5]=> int(8) [6]=> int(3) [7]=> int(5) [8]=> int(2) } array(4) { [0]=> int(1) [1]=> int(7) [2]=> int(8) [3]=> int(2) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(0) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.11
int(2) int(2) string(1) "c" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(3) [1]=> int(2) [2]=> int(7) [3]=> int(0) [4]=> int(4) [5]=> int(1) [6]=> int(5) [7]=> int(6) [8]=> int(8) } array(4) { [0]=> int(5) [1]=> int(0) [2]=> int(1) [3]=> int(4) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(0) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.10
int(8) int(2) string(1) "c" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(1) [1]=> int(5) [2]=> int(2) [3]=> int(6) [4]=> int(8) [5]=> int(7) [6]=> int(4) [7]=> int(3) [8]=> int(0) } array(4) { [0]=> int(5) [1]=> int(2) [2]=> int(1) [3]=> int(0) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(0) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.9
int(1) int(1) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(6) [1]=> int(4) [2]=> int(7) [3]=> int(0) [4]=> int(2) [5]=> int(3) [6]=> int(1) [7]=> int(8) [8]=> int(5) } array(4) { [0]=> int(5) [1]=> int(0) [2]=> int(4) [3]=> int(1) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.8
int(5) int(2) string(1) "b" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(1) [1]=> int(6) [2]=> int(7) [3]=> int(8) [4]=> int(4) [5]=> int(2) [6]=> int(0) [7]=> int(3) [8]=> int(5) } array(4) { [0]=> int(7) [1]=> int(5) [2]=> int(3) [3]=> int(2) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(9) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.7
int(5) int(2) string(1) "c" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(6) [1]=> int(5) [2]=> int(1) [3]=> int(3) [4]=> int(4) [5]=> int(0) [6]=> int(2) [7]=> int(8) [8]=> int(7) } array(4) { [0]=> int(5) [1]=> int(0) [2]=> int(4) [3]=> int(8) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.6
int(0) int(0) string(1) "a" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(2) [1]=> int(3) [2]=> int(8) [3]=> int(4) [4]=> int(0) [5]=> int(5) [6]=> int(6) [7]=> int(1) [8]=> int(7) } array(4) { [0]=> int(2) [1]=> int(6) [2]=> int(1) [3]=> int(4) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(0) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.5
int(7) int(2) string(1) "a" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(2) [1]=> int(0) [2]=> int(6) [3]=> int(8) [4]=> int(4) [5]=> int(5) [6]=> int(1) [7]=> int(7) [8]=> int(3) } array(4) { [0]=> int(5) [1]=> int(0) [2]=> int(3) [3]=> int(4) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.4
int(0) int(0) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(8) [1]=> int(5) [2]=> int(4) [3]=> int(1) [4]=> int(7) [5]=> int(3) [6]=> int(2) [7]=> int(6) [8]=> int(0) } array(4) { [0]=> int(8) [1]=> int(6) [2]=> int(0) [3]=> int(4) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.3
int(1) int(2) string(1) "b" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(3) [1]=> int(2) [2]=> int(7) [3]=> int(6) [4]=> int(5) [5]=> int(0) [6]=> int(8) [7]=> int(4) [8]=> int(1) } array(4) { [0]=> int(7) [1]=> int(3) [2]=> int(4) [3]=> int(8) } array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } array(2) { [0]=> int(4) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.2
int(4) int(0) string(1) "c" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(2) [1]=> int(4) [2]=> int(5) [3]=> int(1) [4]=> int(7) [5]=> int(8) [6]=> int(0) [7]=> int(6) [8]=> int(3) } array(4) { [0]=> int(0) [1]=> int(3) [2]=> int(5) [3]=> int(4) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(9) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.1
int(4) int(1) string(1) "c" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(2) [1]=> int(6) [2]=> int(0) [3]=> int(1) [4]=> int(8) [5]=> int(3) [6]=> int(5) [7]=> int(7) [8]=> int(4) } array(4) { [0]=> int(6) [1]=> int(0) [2]=> int(8) [3]=> int(5) } array(2) { [0]=> string(1) "b" [1]=> string(1) "a" } array(2) { [0]=> int(0) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.2.0
int(0) int(0) string(1) "a" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL array(9) { [0]=> int(3) [1]=> int(1) [2]=> int(8) [3]=> int(2) [4]=> int(6) [5]=> int(0) [6]=> int(7) [7]=> int(4) [8]=> int(5) } array(4) { [0]=> int(6) [1]=> int(1) [2]=> int(5) [3]=> int(2) } array(2) { [0]=> string(1) "b" [1]=> string(1) "a" } array(2) { [0]=> int(9) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 6 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 22 NULL
Output for 8.1.27
int(1) int(0) string(1) "b" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(2) [1]=> int(7) [2]=> int(5) [3]=> int(8) [4]=> int(1) [5]=> int(0) [6]=> int(6) [7]=> int(4) [8]=> int(3) } array(4) { [0]=> int(8) [1]=> int(3) [2]=> int(2) [3]=> int(5) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(4) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.26
int(3) int(1) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(4) [1]=> int(5) [2]=> int(8) [3]=> int(3) [4]=> int(0) [5]=> int(1) [6]=> int(2) [7]=> int(7) [8]=> int(6) } array(4) { [0]=> int(7) [1]=> int(1) [2]=> int(3) [3]=> int(4) } array(2) { [0]=> string(1) "c" [1]=> string(1) "a" } array(2) { [0]=> int(4) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.25
int(1) int(0) string(1) "c" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(0) [1]=> int(1) [2]=> int(3) [3]=> int(6) [4]=> int(2) [5]=> int(8) [6]=> int(5) [7]=> int(4) [8]=> int(7) } array(4) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(6) } array(2) { [0]=> string(1) "b" [1]=> string(1) "a" } array(2) { [0]=> int(9) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.24
int(2) int(2) string(1) "b" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(7) [1]=> int(0) [2]=> int(1) [3]=> int(4) [4]=> int(2) [5]=> int(3) [6]=> int(5) [7]=> int(8) [8]=> int(6) } array(4) { [0]=> int(4) [1]=> int(8) [2]=> int(0) [3]=> int(5) } array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.23
int(1) int(2) string(1) "b" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(7) [1]=> int(1) [2]=> int(2) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(0) [7]=> int(3) [8]=> int(8) } array(4) { [0]=> int(1) [1]=> int(3) [2]=> int(5) [3]=> int(4) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(0) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.22
int(8) int(1) string(1) "a" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(0) [1]=> int(2) [2]=> int(1) [3]=> int(8) [4]=> int(5) [5]=> int(4) [6]=> int(3) [7]=> int(6) [8]=> int(7) } array(4) { [0]=> int(6) [1]=> int(0) [2]=> int(2) [3]=> int(4) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(9) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.21
int(4) int(1) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(0) [1]=> int(8) [2]=> int(3) [3]=> int(1) [4]=> int(2) [5]=> int(6) [6]=> int(4) [7]=> int(7) [8]=> int(5) } array(4) { [0]=> int(6) [1]=> int(5) [2]=> int(2) [3]=> int(1) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(4) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.20
int(6) int(2) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(4) [1]=> int(6) [2]=> int(7) [3]=> int(1) [4]=> int(5) [5]=> int(8) [6]=> int(3) [7]=> int(2) [8]=> int(0) } array(4) { [0]=> int(6) [1]=> int(7) [2]=> int(8) [3]=> int(0) } array(2) { [0]=> string(1) "c" [1]=> string(1) "b" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.19
int(3) int(0) string(1) "a" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(4) [1]=> int(7) [2]=> int(1) [3]=> int(3) [4]=> int(2) [5]=> int(6) [6]=> int(0) [7]=> int(5) [8]=> int(8) } array(4) { [0]=> int(4) [1]=> int(6) [2]=> int(7) [3]=> int(1) } array(2) { [0]=> string(1) "c" [1]=> string(1) "a" } array(2) { [0]=> int(4) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.18
int(7) int(0) string(1) "c" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(4) [1]=> int(1) [2]=> int(6) [3]=> int(2) [4]=> int(0) [5]=> int(3) [6]=> int(7) [7]=> int(5) [8]=> int(8) } array(4) { [0]=> int(5) [1]=> int(7) [2]=> int(8) [3]=> int(6) } array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } array(2) { [0]=> int(9) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.17
int(2) int(2) string(1) "c" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(1) [1]=> int(6) [2]=> int(8) [3]=> int(2) [4]=> int(5) [5]=> int(7) [6]=> int(4) [7]=> int(0) [8]=> int(3) } array(4) { [0]=> int(8) [1]=> int(0) [2]=> int(7) [3]=> int(2) } array(2) { [0]=> string(1) "c" [1]=> string(1) "a" } array(2) { [0]=> int(9) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.16
int(5) int(2) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(0) [1]=> int(2) [2]=> int(5) [3]=> int(1) [4]=> int(6) [5]=> int(3) [6]=> int(7) [7]=> int(4) [8]=> int(8) } array(4) { [0]=> int(7) [1]=> int(1) [2]=> int(0) [3]=> int(5) } array(2) { [0]=> string(1) "b" [1]=> string(1) "a" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.15
int(4) int(1) string(1) "a" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(1) [1]=> int(0) [2]=> int(3) [3]=> int(6) [4]=> int(4) [5]=> int(5) [6]=> int(2) [7]=> int(8) [8]=> int(7) } array(4) { [0]=> int(0) [1]=> int(1) [2]=> int(8) [3]=> int(3) } array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } array(2) { [0]=> int(9) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.14
int(2) int(2) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(2) [1]=> int(0) [2]=> int(1) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) [7]=> int(8) [8]=> int(3) } array(4) { [0]=> int(0) [1]=> int(1) [2]=> int(8) [3]=> int(2) } array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } array(2) { [0]=> int(4) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.13
int(6) int(1) string(1) "c" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(4) [1]=> int(5) [2]=> int(2) [3]=> int(8) [4]=> int(0) [5]=> int(6) [6]=> int(7) [7]=> int(3) [8]=> int(1) } array(4) { [0]=> int(5) [1]=> int(8) [2]=> int(7) [3]=> int(6) } array(2) { [0]=> string(1) "c" [1]=> string(1) "a" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.12
int(2) int(1) string(1) "a" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(3) [1]=> int(1) [2]=> int(2) [3]=> int(5) [4]=> int(6) [5]=> int(7) [6]=> int(8) [7]=> int(0) [8]=> int(4) } array(4) { [0]=> int(0) [1]=> int(7) [2]=> int(5) [3]=> int(2) } array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } array(2) { [0]=> int(0) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.11
int(8) int(1) string(1) "b" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(6) [1]=> int(0) [2]=> int(1) [3]=> int(8) [4]=> int(4) [5]=> int(7) [6]=> int(2) [7]=> int(3) [8]=> int(5) } array(4) { [0]=> int(6) [1]=> int(0) [2]=> int(4) [3]=> int(5) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(4) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.10
int(2) int(2) string(1) "b" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(1) [1]=> int(8) [2]=> int(7) [3]=> int(4) [4]=> int(5) [5]=> int(2) [6]=> int(3) [7]=> int(6) [8]=> int(0) } array(4) { [0]=> int(6) [1]=> int(2) [2]=> int(3) [3]=> int(7) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(0) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.9
int(5) int(1) string(1) "b" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(1) [1]=> int(8) [2]=> int(2) [3]=> int(4) [4]=> int(0) [5]=> int(7) [6]=> int(5) [7]=> int(3) [8]=> int(6) } array(4) { [0]=> int(4) [1]=> int(6) [2]=> int(7) [3]=> int(8) } array(2) { [0]=> string(1) "b" [1]=> string(1) "a" } array(2) { [0]=> int(9) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.8
int(2) int(1) string(1) "c" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(8) [1]=> int(0) [2]=> int(5) [3]=> int(7) [4]=> int(4) [5]=> int(6) [6]=> int(2) [7]=> int(3) [8]=> int(1) } array(4) { [0]=> int(7) [1]=> int(4) [2]=> int(2) [3]=> int(6) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(0) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.7
int(7) int(0) string(1) "a" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(3) [1]=> int(1) [2]=> int(5) [3]=> int(8) [4]=> int(6) [5]=> int(2) [6]=> int(4) [7]=> int(7) [8]=> int(0) } array(4) { [0]=> int(3) [1]=> int(4) [2]=> int(0) [3]=> int(5) } array(2) { [0]=> string(1) "b" [1]=> string(1) "a" } array(2) { [0]=> int(9) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.6
int(3) int(0) string(1) "b" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(0) [1]=> int(3) [2]=> int(7) [3]=> int(4) [4]=> int(8) [5]=> int(2) [6]=> int(1) [7]=> int(6) [8]=> int(5) } array(4) { [0]=> int(5) [1]=> int(4) [2]=> int(3) [3]=> int(0) } array(2) { [0]=> string(1) "a" [1]=> string(1) "c" } array(2) { [0]=> int(0) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.5
int(7) int(1) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(2) [1]=> int(6) [2]=> int(3) [3]=> int(8) [4]=> int(1) [5]=> int(5) [6]=> int(4) [7]=> int(7) [8]=> int(0) } array(4) { [0]=> int(3) [1]=> int(1) [2]=> int(8) [3]=> int(6) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(0) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.4
int(1) int(2) string(1) "b" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(4) [1]=> int(0) [2]=> int(6) [3]=> int(3) [4]=> int(7) [5]=> int(1) [6]=> int(8) [7]=> int(2) [8]=> int(5) } array(4) { [0]=> int(2) [1]=> int(0) [2]=> int(6) [3]=> int(3) } array(2) { [0]=> string(1) "c" [1]=> string(1) "a" } array(2) { [0]=> int(0) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.3
int(3) int(2) string(1) "a" int(0) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(5) [1]=> int(7) [2]=> int(3) [3]=> int(8) [4]=> int(4) [5]=> int(2) [6]=> int(1) [7]=> int(0) [8]=> int(6) } array(4) { [0]=> int(2) [1]=> int(5) [2]=> int(3) [3]=> int(8) } array(2) { [0]=> string(1) "c" [1]=> string(1) "b" } array(2) { [0]=> int(9) [1]=> int(0) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.2
int(6) int(0) string(1) "c" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(5) [1]=> int(3) [2]=> int(1) [3]=> int(6) [4]=> int(7) [5]=> int(2) [6]=> int(0) [7]=> int(8) [8]=> int(4) } array(4) { [0]=> int(2) [1]=> int(5) [2]=> int(3) [3]=> int(4) } array(2) { [0]=> string(1) "c" [1]=> string(1) "b" } array(2) { [0]=> int(4) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.1
int(8) int(1) string(1) "a" int(9) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(3) [1]=> int(4) [2]=> int(1) [3]=> int(0) [4]=> int(5) [5]=> int(8) [6]=> int(2) [7]=> int(7) [8]=> int(6) } array(4) { [0]=> int(4) [1]=> int(1) [2]=> int(3) [3]=> int(0) } array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } array(2) { [0]=> int(0) [1]=> int(4) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL
Output for 8.1.0
int(0) int(2) string(1) "a" int(4) string(4) "PEAN" Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL array(9) { [0]=> int(3) [1]=> int(2) [2]=> int(4) [3]=> int(6) [4]=> int(1) [5]=> int(7) [6]=> int(5) [7]=> int(0) [8]=> int(8) } array(4) { [0]=> int(7) [1]=> int(0) [2]=> int(4) [3]=> int(8) } array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } array(2) { [0]=> int(0) [1]=> int(9) } Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL Warning: array_rand_secure(): Array is empty in /in/HGnAk on line 14 NULL Warning: array_rand_secure(): expects parameter 1 to be array, string given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): expects parameter 1 to be array, integer given in /in/HGnAk on line 8 NULL Warning: array_rand_secure(): Second argument has to be between 1 and the number of elements in the array in /in/HGnAk on line 24 NULL

preferences:
53.2 ms | 526 KiB | 5 Q