Lines Matching refs:array
2 Test array_merge_recursive() function : usage variations - array with duplicate keys
7 * array having duplicate keys.
10 echo "*** Testing array_merge_recursive() : array with duplicate keys for \$arr1 argument ***\n";
12 /* initialize the array having duplicate keys */
13 // array with numeric keys
14 $arr1_numeric_key = array( 1 => "one", 2 => "two", 2 => array(1, 2), 3 => "three", 1 => array("dupl…
15 // array with string keys
16 $arr1_string_key = array("str1" => "hello", "str2" => 111, "str1" => "world", "str2" => 111.111);
19 $arr2 = array("one", "str1" => "two", array("one", "two"));
32 *** Testing array_merge_recursive() : array with duplicate keys for $arr1 argument ***
34 array(3) {
36 array(2) {
43 array(2) {
52 array(2) {
59 array(6) {
61 array(2) {
68 array(2) {
81 array(2) {
88 array(4) {
90 array(2) {
101 array(2) {