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 // float data
45 // null data
53 // boolean data
63 // empty data
71 // string data
78 // undefined data
83 // unset data
92 echo "\n-- Iteration $iterator: $type data --\n";
96 echo "-- \$key arguments are $new_type data:\n";
109 -- Iteration 1: int data --
110 -- $key arguments are int data:
115 -- $key arguments are float data:
119 -- $key arguments are extreme floats data:
122 -- $key arguments are null uppercase data:
124 -- $key arguments are null lowercase data:
126 -- $key arguments are bool lowercase data:
129 -- $key arguments are bool uppercase data:
132 -- $key arguments are empty double quotes data:
134 -- $key arguments are empty single quotes data:
136 -- $key arguments are string data:
140 -- $key arguments are undefined data:
142 -- $key arguments are unset data:
145 -- Iteration 2: float data --
146 -- $key arguments are int data:
151 -- $key arguments are float data:
155 -- $key arguments are extreme floats data:
158 -- $key arguments are null uppercase data:
160 -- $key arguments are null lowercase data:
162 -- $key arguments are bool lowercase data:
165 -- $key arguments are bool uppercase data:
168 -- $key arguments are empty double quotes data:
170 -- $key arguments are empty single quotes data:
172 -- $key arguments are string data:
176 -- $key arguments are undefined data:
178 -- $key arguments are unset data:
181 -- Iteration 3: extreme floats data --
182 -- $key arguments are int data:
187 -- $key arguments are float data:
191 -- $key arguments are extreme floats data:
194 -- $key arguments are null uppercase data:
196 -- $key arguments are null lowercase data:
198 -- $key arguments are bool lowercase data:
201 -- $key arguments are bool uppercase data:
204 -- $key arguments are empty double quotes data:
206 -- $key arguments are empty single quotes data:
208 -- $key arguments are string data:
212 -- $key arguments are undefined data:
214 -- $key arguments are unset data:
217 -- Iteration 4: null uppercase data --
218 -- $key arguments are int data:
223 -- $key arguments are float data:
227 -- $key arguments are extreme floats data:
230 -- $key arguments are null uppercase data:
232 -- $key arguments are null lowercase data:
234 -- $key arguments are bool lowercase data:
237 -- $key arguments are bool uppercase data:
240 -- $key arguments are empty double quotes data:
242 -- $key arguments are empty single quotes data:
244 -- $key arguments are string data:
248 -- $key arguments are undefined data:
250 -- $key arguments are unset data:
253 -- Iteration 5: null lowercase data --
254 -- $key arguments are int data:
259 -- $key arguments are float data:
263 -- $key arguments are extreme floats data:
266 -- $key arguments are null uppercase data:
268 -- $key arguments are null lowercase data:
270 -- $key arguments are bool lowercase data:
273 -- $key arguments are bool uppercase data:
276 -- $key arguments are empty double quotes data:
278 -- $key arguments are empty single quotes data:
280 -- $key arguments are string data:
284 -- $key arguments are undefined data:
286 -- $key arguments are unset data:
289 -- Iteration 6: bool lowercase data --
290 -- $key arguments are int data:
295 -- $key arguments are float data:
299 -- $key arguments are extreme floats data:
302 -- $key arguments are null uppercase data:
304 -- $key arguments are null lowercase data:
306 -- $key arguments are bool lowercase data:
309 -- $key arguments are bool uppercase data:
312 -- $key arguments are empty double quotes data:
314 -- $key arguments are empty single quotes data:
316 -- $key arguments are string data:
320 -- $key arguments are undefined data:
322 -- $key arguments are unset data:
325 -- Iteration 7: bool uppercase data --
326 -- $key arguments are int data:
331 -- $key arguments are float data:
335 -- $key arguments are extreme floats data:
338 -- $key arguments are null uppercase data:
340 -- $key arguments are null lowercase data:
342 -- $key arguments are bool lowercase data:
345 -- $key arguments are bool uppercase data:
348 -- $key arguments are empty double quotes data:
350 -- $key arguments are empty single quotes data:
352 -- $key arguments are string data:
356 -- $key arguments are undefined data:
358 -- $key arguments are unset data:
361 -- Iteration 8: empty double quotes data --
362 -- $key arguments are int data:
367 -- $key arguments are float data:
371 -- $key arguments are extreme floats data:
374 -- $key arguments are null uppercase data:
376 -- $key arguments are null lowercase data:
378 -- $key arguments are bool lowercase data:
381 -- $key arguments are bool uppercase data:
384 -- $key arguments are empty double quotes data:
386 -- $key arguments are empty single quotes data:
388 -- $key arguments are string data:
392 -- $key arguments are undefined data:
394 -- $key arguments are unset data:
397 -- Iteration 9: empty single quotes data --
398 -- $key arguments are int data:
403 -- $key arguments are float data:
407 -- $key arguments are extreme floats data:
410 -- $key arguments are null uppercase data:
412 -- $key arguments are null lowercase data:
414 -- $key arguments are bool lowercase data:
417 -- $key arguments are bool uppercase data:
420 -- $key arguments are empty double quotes data:
422 -- $key arguments are empty single quotes data:
424 -- $key arguments are string data:
428 -- $key arguments are undefined data:
430 -- $key arguments are unset data:
433 -- Iteration 10: string data --
434 -- $key arguments are int data:
439 -- $key arguments are float data:
443 -- $key arguments are extreme floats data:
446 -- $key arguments are null uppercase data:
448 -- $key arguments are null lowercase data:
450 -- $key arguments are bool lowercase data:
453 -- $key arguments are bool uppercase data:
456 -- $key arguments are empty double quotes data:
458 -- $key arguments are empty single quotes data:
460 -- $key arguments are string data:
464 -- $key arguments are undefined data:
466 -- $key arguments are unset data:
469 -- Iteration 11: undefined data --
470 -- $key arguments are int data:
475 -- $key arguments are float data:
479 -- $key arguments are extreme floats data:
482 -- $key arguments are null uppercase data:
484 -- $key arguments are null lowercase data:
486 -- $key arguments are bool lowercase data:
489 -- $key arguments are bool uppercase data:
492 -- $key arguments are empty double quotes data:
494 -- $key arguments are empty single quotes data:
496 -- $key arguments are string data:
500 -- $key arguments are undefined data:
502 -- $key arguments are unset data:
505 -- Iteration 12: unset data --
506 -- $key arguments are int data:
511 -- $key arguments are float data:
515 -- $key arguments are extreme floats data:
518 -- $key arguments are null uppercase data:
520 -- $key arguments are null lowercase data:
522 -- $key arguments are bool lowercase data:
525 -- $key arguments are bool uppercase data:
528 -- $key arguments are empty double quotes data:
530 -- $key arguments are empty single quotes data:
532 -- $key arguments are string data:
536 -- $key arguments are undefined data:
538 -- $key arguments are unset data: