Lines Matching refs:array
5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...])
8 * Source code: ext/standard/array.c
14 * The $arr1 argument passed is a fixed array.
49 // array to be passsed to $arr1 argument
50 $arr1 = array (
59 $arrays = array (
60 /*1*/ array(1, 2), // array with default keys and numeric values
61 array(1.1, 1.2, 1.3), // array with default keys & float values
62 array(false,true), // array with default keys and boolean values
63 array(), // empty array
64 /*5*/ array(NULL), // array with NULL
65 …array("a\v\f","aaaa\r","b","b\tbbb","c","\[\]\!\@\#\$\%\^\&\*\(\)\{\}"), // array with double quo…
66 …array('a\v\f','aaaa\r','b','b\tbbb','c','\[\]\!\@\#\$\%\^\&\*\(\)\{\}'), // array with single quo…
67 …array($blank_line, "h2" => $multiline_string, "h3" => $diff_whitespaces, $numeric_string), // arr…
70 /*9*/ array(1 => "one", 2 => "two", 6 => "six"), // explicit numeric keys, string values
71 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
72 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
73 array( "one" => "ten", "two" => "twenty", "three" => "thirty"), // string key/value
74 array("one" => 1, 2 => "two", 4 => "four"), //mixed
76 // associative array, containing null/empty/boolean values as key/value
77 /*14*/ array(NULL => "NULL", null => "null", "NULL" => NULL, "null" => null),
78 array(true => "true", false => "false", "false" => false, "true" => true),
79 array("" => "emptyd", '' => 'emptys', "emptyd" => "", 'emptys' => ''),
80 array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
81 array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
83 // array with repetative keys
84 /*19*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
87 // loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
106 array(1) {
110 array(1) {
115 array(1) {
119 array(1) {
124 array(1) {
128 array(1) {
133 array(0) {
135 array(0) {
138 array(0) {
140 array(0) {
143 array(1) {
147 array(1) {
152 array(0) {
154 array(0) {
157 array(1) {
165 array(1) {
174 array(1) {
178 array(1) {
183 array(1) {
187 array(1) {
192 array(0) {
194 array(0) {
197 array(1) {
201 array(1) {
206 array(1) {
210 array(1) {
215 array(0) {
217 array(0) {
220 array(1) {
224 array(1) {
229 array(1) {
233 array(1) {
238 array(1) {
242 array(1) {
247 array(0) {
249 array(0) {
252 array(0) {
254 array(0) {