Lines Matching refs:data
2 Test array_key_exists() function : usage variations - array keys are different data types
12 * Pass an array where the keys are different data types as the $search argument
13 * then pass many different data types as $key argument to test where array_key_exist()
28 // different data types to be iterated over
31 // int data
39 // float data
51 // null data
59 // boolean data
69 // empty data
77 // string data
84 // undefined data
89 // unset data
98 echo "\n-- Iteration $iterator: $type data --\n";
102 echo "-- \$key arguments are $new_type data:\n";
115 -- Iteration 1: int data --
116 -- $key arguments are int data:
121 -- $key arguments are float data:
125 -- $key arguments are extreme floats data:
128 -- $key arguments are null uppercase data:
130 -- $key arguments are null lowercase data:
132 -- $key arguments are bool lowercase data:
135 -- $key arguments are bool uppercase data:
138 -- $key arguments are empty double quotes data:
140 -- $key arguments are empty single quotes data:
142 -- $key arguments are string data:
146 -- $key arguments are undefined data:
148 -- $key arguments are unset data:
151 -- Iteration 2: float data --
152 -- $key arguments are int data:
157 -- $key arguments are float data:
161 -- $key arguments are extreme floats data:
164 -- $key arguments are null uppercase data:
166 -- $key arguments are null lowercase data:
168 -- $key arguments are bool lowercase data:
171 -- $key arguments are bool uppercase data:
174 -- $key arguments are empty double quotes data:
176 -- $key arguments are empty single quotes data:
178 -- $key arguments are string data:
182 -- $key arguments are undefined data:
184 -- $key arguments are unset data:
187 -- Iteration 3: extreme floats data --
188 -- $key arguments are int data:
193 -- $key arguments are float data:
197 -- $key arguments are extreme floats data:
200 -- $key arguments are null uppercase data:
202 -- $key arguments are null lowercase data:
204 -- $key arguments are bool lowercase data:
207 -- $key arguments are bool uppercase data:
210 -- $key arguments are empty double quotes data:
212 -- $key arguments are empty single quotes data:
214 -- $key arguments are string data:
218 -- $key arguments are undefined data:
220 -- $key arguments are unset data:
223 -- Iteration 4: null uppercase data --
224 -- $key arguments are int data:
229 -- $key arguments are float data:
233 -- $key arguments are extreme floats data:
236 -- $key arguments are null uppercase data:
238 -- $key arguments are null lowercase data:
240 -- $key arguments are bool lowercase data:
243 -- $key arguments are bool uppercase data:
246 -- $key arguments are empty double quotes data:
248 -- $key arguments are empty single quotes data:
250 -- $key arguments are string data:
254 -- $key arguments are undefined data:
256 -- $key arguments are unset data:
259 -- Iteration 5: null lowercase data --
260 -- $key arguments are int data:
265 -- $key arguments are float data:
269 -- $key arguments are extreme floats data:
272 -- $key arguments are null uppercase data:
274 -- $key arguments are null lowercase data:
276 -- $key arguments are bool lowercase data:
279 -- $key arguments are bool uppercase data:
282 -- $key arguments are empty double quotes data:
284 -- $key arguments are empty single quotes data:
286 -- $key arguments are string data:
290 -- $key arguments are undefined data:
292 -- $key arguments are unset data:
295 -- Iteration 6: bool lowercase data --
296 -- $key arguments are int data:
301 -- $key arguments are float data:
305 -- $key arguments are extreme floats data:
308 -- $key arguments are null uppercase data:
310 -- $key arguments are null lowercase data:
312 -- $key arguments are bool lowercase data:
315 -- $key arguments are bool uppercase data:
318 -- $key arguments are empty double quotes data:
320 -- $key arguments are empty single quotes data:
322 -- $key arguments are string data:
326 -- $key arguments are undefined data:
328 -- $key arguments are unset data:
331 -- Iteration 7: bool uppercase data --
332 -- $key arguments are int data:
337 -- $key arguments are float data:
341 -- $key arguments are extreme floats data:
344 -- $key arguments are null uppercase data:
346 -- $key arguments are null lowercase data:
348 -- $key arguments are bool lowercase data:
351 -- $key arguments are bool uppercase data:
354 -- $key arguments are empty double quotes data:
356 -- $key arguments are empty single quotes data:
358 -- $key arguments are string data:
362 -- $key arguments are undefined data:
364 -- $key arguments are unset data:
367 -- Iteration 8: empty double quotes data --
368 -- $key arguments are int data:
373 -- $key arguments are float data:
377 -- $key arguments are extreme floats data:
380 -- $key arguments are null uppercase data:
382 -- $key arguments are null lowercase data:
384 -- $key arguments are bool lowercase data:
387 -- $key arguments are bool uppercase data:
390 -- $key arguments are empty double quotes data:
392 -- $key arguments are empty single quotes data:
394 -- $key arguments are string data:
398 -- $key arguments are undefined data:
400 -- $key arguments are unset data:
403 -- Iteration 9: empty single quotes data --
404 -- $key arguments are int data:
409 -- $key arguments are float data:
413 -- $key arguments are extreme floats data:
416 -- $key arguments are null uppercase data:
418 -- $key arguments are null lowercase data:
420 -- $key arguments are bool lowercase data:
423 -- $key arguments are bool uppercase data:
426 -- $key arguments are empty double quotes data:
428 -- $key arguments are empty single quotes data:
430 -- $key arguments are string data:
434 -- $key arguments are undefined data:
436 -- $key arguments are unset data:
439 -- Iteration 10: string data --
440 -- $key arguments are int data:
445 -- $key arguments are float data:
449 -- $key arguments are extreme floats data:
452 -- $key arguments are null uppercase data:
454 -- $key arguments are null lowercase data:
456 -- $key arguments are bool lowercase data:
459 -- $key arguments are bool uppercase data:
462 -- $key arguments are empty double quotes data:
464 -- $key arguments are empty single quotes data:
466 -- $key arguments are string data:
470 -- $key arguments are undefined data:
472 -- $key arguments are unset data:
475 -- Iteration 11: undefined data --
476 -- $key arguments are int data:
481 -- $key arguments are float data:
485 -- $key arguments are extreme floats data:
488 -- $key arguments are null uppercase data:
490 -- $key arguments are null lowercase data:
492 -- $key arguments are bool lowercase data:
495 -- $key arguments are bool uppercase data:
498 -- $key arguments are empty double quotes data:
500 -- $key arguments are empty single quotes data:
502 -- $key arguments are string data:
506 -- $key arguments are undefined data:
508 -- $key arguments are unset data:
511 -- Iteration 12: unset data --
512 -- $key arguments are int data:
517 -- $key arguments are float data:
521 -- $key arguments are extreme floats data:
524 -- $key arguments are null uppercase data:
526 -- $key arguments are null lowercase data:
528 -- $key arguments are bool lowercase data:
531 -- $key arguments are bool uppercase data:
534 -- $key arguments are empty double quotes data:
536 -- $key arguments are empty single quotes data:
538 -- $key arguments are string data:
542 -- $key arguments are undefined data:
544 -- $key arguments are unset data: