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";
116 -- Iteration 1: int data --
117 -- $key arguments are int data:
122 -- $key arguments are float data:
126 -- $key arguments are extreme floats data:
129 -- $key arguments are null uppercase data:
131 -- $key arguments are null lowercase data:
133 -- $key arguments are bool lowercase data:
136 -- $key arguments are bool uppercase data:
139 -- $key arguments are empty double quotes data:
141 -- $key arguments are empty single quotes data:
143 -- $key arguments are string data:
147 -- $key arguments are undefined data:
149 -- $key arguments are unset data:
152 -- Iteration 2: float data --
153 -- $key arguments are int data:
158 -- $key arguments are float data:
162 -- $key arguments are extreme floats data:
165 -- $key arguments are null uppercase data:
167 -- $key arguments are null lowercase data:
169 -- $key arguments are bool lowercase data:
172 -- $key arguments are bool uppercase data:
175 -- $key arguments are empty double quotes data:
177 -- $key arguments are empty single quotes data:
179 -- $key arguments are string data:
183 -- $key arguments are undefined data:
185 -- $key arguments are unset data:
188 -- Iteration 3: extreme floats data --
189 -- $key arguments are int data:
194 -- $key arguments are float data:
198 -- $key arguments are extreme floats data:
201 -- $key arguments are null uppercase data:
203 -- $key arguments are null lowercase data:
205 -- $key arguments are bool lowercase data:
208 -- $key arguments are bool uppercase data:
211 -- $key arguments are empty double quotes data:
213 -- $key arguments are empty single quotes data:
215 -- $key arguments are string data:
219 -- $key arguments are undefined data:
221 -- $key arguments are unset data:
224 -- Iteration 4: null uppercase data --
225 -- $key arguments are int data:
230 -- $key arguments are float data:
234 -- $key arguments are extreme floats data:
237 -- $key arguments are null uppercase data:
239 -- $key arguments are null lowercase data:
241 -- $key arguments are bool lowercase data:
244 -- $key arguments are bool uppercase data:
247 -- $key arguments are empty double quotes data:
249 -- $key arguments are empty single quotes data:
251 -- $key arguments are string data:
255 -- $key arguments are undefined data:
257 -- $key arguments are unset data:
260 -- Iteration 5: null lowercase data --
261 -- $key arguments are int data:
266 -- $key arguments are float data:
270 -- $key arguments are extreme floats data:
273 -- $key arguments are null uppercase data:
275 -- $key arguments are null lowercase data:
277 -- $key arguments are bool lowercase data:
280 -- $key arguments are bool uppercase data:
283 -- $key arguments are empty double quotes data:
285 -- $key arguments are empty single quotes data:
287 -- $key arguments are string data:
291 -- $key arguments are undefined data:
293 -- $key arguments are unset data:
296 -- Iteration 6: bool lowercase data --
297 -- $key arguments are int data:
302 -- $key arguments are float data:
306 -- $key arguments are extreme floats data:
309 -- $key arguments are null uppercase data:
311 -- $key arguments are null lowercase data:
313 -- $key arguments are bool lowercase data:
316 -- $key arguments are bool uppercase data:
319 -- $key arguments are empty double quotes data:
321 -- $key arguments are empty single quotes data:
323 -- $key arguments are string data:
327 -- $key arguments are undefined data:
329 -- $key arguments are unset data:
332 -- Iteration 7: bool uppercase data --
333 -- $key arguments are int data:
338 -- $key arguments are float data:
342 -- $key arguments are extreme floats data:
345 -- $key arguments are null uppercase data:
347 -- $key arguments are null lowercase data:
349 -- $key arguments are bool lowercase data:
352 -- $key arguments are bool uppercase data:
355 -- $key arguments are empty double quotes data:
357 -- $key arguments are empty single quotes data:
359 -- $key arguments are string data:
363 -- $key arguments are undefined data:
365 -- $key arguments are unset data:
368 -- Iteration 8: empty double quotes data --
369 -- $key arguments are int data:
374 -- $key arguments are float data:
378 -- $key arguments are extreme floats data:
381 -- $key arguments are null uppercase data:
383 -- $key arguments are null lowercase data:
385 -- $key arguments are bool lowercase data:
388 -- $key arguments are bool uppercase data:
391 -- $key arguments are empty double quotes data:
393 -- $key arguments are empty single quotes data:
395 -- $key arguments are string data:
399 -- $key arguments are undefined data:
401 -- $key arguments are unset data:
404 -- Iteration 9: empty single quotes data --
405 -- $key arguments are int data:
410 -- $key arguments are float data:
414 -- $key arguments are extreme floats data:
417 -- $key arguments are null uppercase data:
419 -- $key arguments are null lowercase data:
421 -- $key arguments are bool lowercase data:
424 -- $key arguments are bool uppercase data:
427 -- $key arguments are empty double quotes data:
429 -- $key arguments are empty single quotes data:
431 -- $key arguments are string data:
435 -- $key arguments are undefined data:
437 -- $key arguments are unset data:
440 -- Iteration 10: string data --
441 -- $key arguments are int data:
446 -- $key arguments are float data:
450 -- $key arguments are extreme floats data:
453 -- $key arguments are null uppercase data:
455 -- $key arguments are null lowercase data:
457 -- $key arguments are bool lowercase data:
460 -- $key arguments are bool uppercase data:
463 -- $key arguments are empty double quotes data:
465 -- $key arguments are empty single quotes data:
467 -- $key arguments are string data:
471 -- $key arguments are undefined data:
473 -- $key arguments are unset data:
476 -- Iteration 11: undefined data --
477 -- $key arguments are int data:
482 -- $key arguments are float data:
486 -- $key arguments are extreme floats data:
489 -- $key arguments are null uppercase data:
491 -- $key arguments are null lowercase data:
493 -- $key arguments are bool lowercase data:
496 -- $key arguments are bool uppercase data:
499 -- $key arguments are empty double quotes data:
501 -- $key arguments are empty single quotes data:
503 -- $key arguments are string data:
507 -- $key arguments are undefined data:
509 -- $key arguments are unset data:
512 -- Iteration 12: unset data --
513 -- $key arguments are int data:
518 -- $key arguments are float data:
522 -- $key arguments are extreme floats data:
525 -- $key arguments are null uppercase data:
527 -- $key arguments are null lowercase data:
529 -- $key arguments are bool lowercase data:
532 -- $key arguments are bool uppercase data:
535 -- $key arguments are empty double quotes data:
537 -- $key arguments are empty single quotes data:
539 -- $key arguments are string data:
543 -- $key arguments are undefined data:
545 -- $key arguments are unset data: