Lines Matching refs:data
2 Test array_key_exists() function : usage variations - array keys are different data types
6 * Pass an array where the keys are different data types as the $search argument
7 * then pass many different data types as $key argument to test where array_key_exist()
22 // different data types to be iterated over
25 // int data
33 // null data
41 // boolean data
51 // empty data
59 // string data
66 // undefined data
71 // unset data
80 echo "\n-- Iteration $iterator: $type data --\n";
84 echo "-- \$key arguments are $new_type data:\n";
97 -- Iteration 1: int data --
98 -- $key arguments are int data:
103 -- $key arguments are null uppercase data:
105 -- $key arguments are null lowercase data:
107 -- $key arguments are bool lowercase data:
110 -- $key arguments are bool uppercase data:
113 -- $key arguments are empty double quotes data:
115 -- $key arguments are empty single quotes data:
117 -- $key arguments are string data:
121 -- $key arguments are undefined data:
123 -- $key arguments are unset data:
126 -- Iteration 2: null uppercase data --
127 -- $key arguments are int data:
132 -- $key arguments are null uppercase data:
134 -- $key arguments are null lowercase data:
136 -- $key arguments are bool lowercase data:
139 -- $key arguments are bool uppercase data:
142 -- $key arguments are empty double quotes data:
144 -- $key arguments are empty single quotes data:
146 -- $key arguments are string data:
150 -- $key arguments are undefined data:
152 -- $key arguments are unset data:
155 -- Iteration 3: null lowercase data --
156 -- $key arguments are int data:
161 -- $key arguments are null uppercase data:
163 -- $key arguments are null lowercase data:
165 -- $key arguments are bool lowercase data:
168 -- $key arguments are bool uppercase data:
171 -- $key arguments are empty double quotes data:
173 -- $key arguments are empty single quotes data:
175 -- $key arguments are string data:
179 -- $key arguments are undefined data:
181 -- $key arguments are unset data:
184 -- Iteration 4: bool lowercase data --
185 -- $key arguments are int data:
190 -- $key arguments are null uppercase data:
192 -- $key arguments are null lowercase data:
194 -- $key arguments are bool lowercase data:
197 -- $key arguments are bool uppercase data:
200 -- $key arguments are empty double quotes data:
202 -- $key arguments are empty single quotes data:
204 -- $key arguments are string data:
208 -- $key arguments are undefined data:
210 -- $key arguments are unset data:
213 -- Iteration 5: bool uppercase data --
214 -- $key arguments are int data:
219 -- $key arguments are null uppercase data:
221 -- $key arguments are null lowercase data:
223 -- $key arguments are bool lowercase data:
226 -- $key arguments are bool uppercase data:
229 -- $key arguments are empty double quotes data:
231 -- $key arguments are empty single quotes data:
233 -- $key arguments are string data:
237 -- $key arguments are undefined data:
239 -- $key arguments are unset data:
242 -- Iteration 6: empty double quotes data --
243 -- $key arguments are int data:
248 -- $key arguments are null uppercase data:
250 -- $key arguments are null lowercase data:
252 -- $key arguments are bool lowercase data:
255 -- $key arguments are bool uppercase data:
258 -- $key arguments are empty double quotes data:
260 -- $key arguments are empty single quotes data:
262 -- $key arguments are string data:
266 -- $key arguments are undefined data:
268 -- $key arguments are unset data:
271 -- Iteration 7: empty single quotes data --
272 -- $key arguments are int data:
277 -- $key arguments are null uppercase data:
279 -- $key arguments are null lowercase data:
281 -- $key arguments are bool lowercase data:
284 -- $key arguments are bool uppercase data:
287 -- $key arguments are empty double quotes data:
289 -- $key arguments are empty single quotes data:
291 -- $key arguments are string data:
295 -- $key arguments are undefined data:
297 -- $key arguments are unset data:
300 -- Iteration 8: string data --
301 -- $key arguments are int data:
306 -- $key arguments are null uppercase data:
308 -- $key arguments are null lowercase data:
310 -- $key arguments are bool lowercase data:
313 -- $key arguments are bool uppercase data:
316 -- $key arguments are empty double quotes data:
318 -- $key arguments are empty single quotes data:
320 -- $key arguments are string data:
324 -- $key arguments are undefined data:
326 -- $key arguments are unset data:
329 -- Iteration 9: undefined data --
330 -- $key arguments are int data:
335 -- $key arguments are null uppercase data:
337 -- $key arguments are null lowercase data:
339 -- $key arguments are bool lowercase data:
342 -- $key arguments are bool uppercase data:
345 -- $key arguments are empty double quotes data:
347 -- $key arguments are empty single quotes data:
349 -- $key arguments are string data:
353 -- $key arguments are undefined data:
355 -- $key arguments are unset data:
358 -- Iteration 10: unset data --
359 -- $key arguments are int data:
364 -- $key arguments are null uppercase data:
366 -- $key arguments are null lowercase data:
368 -- $key arguments are bool lowercase data:
371 -- $key arguments are bool uppercase data:
374 -- $key arguments are empty double quotes data:
376 -- $key arguments are empty single quotes data:
378 -- $key arguments are string data:
382 -- $key arguments are undefined data:
384 -- $key arguments are unset data: