Lines Matching refs:array
17 $arrays = array (
18 /*1*/ array(1, 2), // array with default keys and numeric values
19 array(1.1, 2.2), // array with default keys & float values
20 array( array(2), array(1)), // sub arrays
21 array(false,true), // array with default keys and boolean values
22 array(), // empty array
23 array(NULL), // array with NULL
24 array("a","aaaa","b","bbbb","c","ccccc"),
27 /*8*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
28 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
29 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
30 array( "one" => "ten", "two" => "twenty", "three" => "thirty"), // string key/value
31 array("one" => 1, 2 => "two", 4 => "four"), //mixed
33 // associative array, containing null/empty/boolean values as key/value
34 /*13*/ array(NULL => "NULL", null => "null", "NULL" => NULL, "null" => null),
35 array(true => "true", false => "false", "false" => false, "true" => true),
36 array("" => "emptyd", '' => 'emptys', "emptyd" => "", 'emptys' => ''),
37 array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
38 array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
40 // array with repetitive keys
41 /*18*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
57 array(2) {
64 array(2) {
71 array(2) {
73 array(1) {
78 array(1) {
84 array(2) {
91 array(0) {
94 array(1) {
99 array(6) {
114 array(3) {
123 array(3) {
132 array(4) {
143 array(3) {
152 array(3) {
161 array(3) {
170 array(4) {
181 array(3) {
190 array(6) {
205 array(3) {
214 array(3) {