Lines Matching refs:array

13 $array_arg = array(
14 // array with positive int values
15 /*1*/ array("zero" => 0, 1 => 1, "two" => 2, "max_int" => 2147483647 ),
17 // array with negative int values
18 array("minus_one" => -1, 'minus_two' => -2, "min_int" => -2147483647 ),
20 // array with positive float values
21 /*3*/ array("float1" => 0.23, 'float2' => 1.34, "exp1" => 0e2, 'exp2' => 200e-2, "exp3" => 10e0),
23 // array with negative float values
24 array(-0 => -0.23, -1 => -1.34, -200 => -200e-2, -30 => -30e0, -2147473649.80),
26 // array with single and double quoted strings
27 /*5*/ array('1' => 'one', "str1" => "123numbers", '' => 'hello\tworld', "" => "hello world\0", "12…
29 // array with bool values
30 array('1' => TRUE, "1" => TRUE, "0" => FALSE, '0' => FALSE),
32 // array with positive hexa values
33 /*7*/ array("hex1" => 0x123, 'hex2' => 0xabc, "hex\t3" => 0xABC, "hex\04" => 0xAb1),
35 // array with negative hexa values
36 array(NULL => -0x123, "NULL" => -0xabc, "-ABC" => -0xABC, -0xAB1 => -0xAb1),
38 // array with positive octal values
39 /*9*/ array(0123 => 0123, "0234" => 0234, '034' => 034, 00 => 00),
41 // array with negative octal values
42 array(-0123 => -0123, "-0234" => -0234, '-034' => -034),
44 // array with null values
45 /*11*/ array(NULL => NULL, "null" => NULL, "NULL" => NULL)
49 // looping to test shuffle() with each sub-array in the $array_arg array
55 echo "\nThe output array is:\n";
70 The output array is:
71 array(4) {
85 The output array is:
86 array(3) {
98 The output array is:
99 array(5) {
115 The output array is:
116 array(5) {
132 The output array is:
133 array(4) {
147 The output array is:
148 array(2) {
158 The output array is:
159 array(4) {
173 The output array is:
174 array(4) {
188 The output array is:
189 array(4) {
203 The output array is:
204 array(3) {
216 The output array is:
217 array(3) {