Lines Matching refs:key
2 Test key() function : usage variations
5 /* Prototype : mixed key(array $array_arg)
6 * Description: Return the key of the element currently pointed to by the internal array pointer
11 * Test how key() behaves with muti-dimensional and recursive arrays
14 echo "*** Testing key() : usage variations ***\n";
19 var_dump(key($multi_array));
23 var_dump(key($multi_array));
27 var_dump(key($multi_array));
32 var_dump(key($multi_array[1]));
40 var_dump(key($multi_array));
43 var_dump(key($multi_array[3][3][3]));
45 var_dump(key($multi_array[3][3][3][1]));
49 *** Testing key() : usage variations ***