Lines Matching refs:array

5 /* Prototype  : bool shuffle(array $array_arg)
6 * Description: Randomly shuffle the contents of an array
7 * Source code: ext/standard/array.c
18 $array_arg = array(
19 // array with positive int values
20 /*1*/ array(0, 1, 2, 2147483647 ),
22 // array with negative int values
23 array(-1, -2, -2147483647 ),
25 // array with positive float values
26 /*3*/ array(0.23, 1.34, 0e2, 200e-2, 30e2, 10e0, 2147473648.90),
28 // array with negative float values
29 array(-0.23, -1.34, -200e-2, -30e2, -10e0, -2147473649.80),
31 // array with single quoted and double quoted strings
32 /*5*/ array('one', "123numbers", 'hello\tworld', "hello world\0", '12.34floatnum'),
34 // array with bool values
35 array(true, TRUE, FALSE, false),
37 // array with positive hexa values
38 /*7*/ array(0x123, 0xabc, 0xABC, 0xac, 0xAb1, 0x9fa),
40 // array with negative hexa values
41 array(-0x123, -0xabc, -0xABC, -0xAb1, -0x9fa),
43 // array with positive octal values
44 /*9*/ array(0123, 02348, 034, 00),
46 // array with negative octal values
47 /*10*/ array(-0123, -02348, -034),
51 // looping to test shuffle() with each sub-array in the $array_arg array
57 echo "\nThe output array is:\n";
72 The output array is:
73 array(4) {
87 The output array is:
88 array(3) {
100 The output array is:
101 array(7) {
121 The output array is:
122 array(6) {
140 The output array is:
141 array(5) {
157 The output array is:
158 array(4) {
172 The output array is:
173 array(6) {
191 The output array is:
192 array(5) {
208 The output array is:
209 array(4) {
223 The output array is:
224 array(3) {