Lines Matching refs:array_merge
2 Test array_merge() function : usage variations - Pass different data types as $arr2 arg
6 * Pass different data types as $arr2 argument to array_merge() to test behaviour
9 echo "*** Testing array_merge() : usage variations ***\n";
83 // loop through each element of $inputs to check the behavior of array_merge()
88 var_dump( array_merge($arr1, $input) );
100 *** Testing array_merge() : usage variations ***
103 array_merge(): Argument #2 must be of type array, int given
106 array_merge(): Argument #2 must be of type array, int given
109 array_merge(): Argument #2 must be of type array, int given
112 array_merge(): Argument #2 must be of type array, int given
115 array_merge(): Argument #2 must be of type array, float given
118 array_merge(): Argument #2 must be of type array, float given
121 array_merge(): Argument #2 must be of type array, float given
124 array_merge(): Argument #2 must be of type array, float given
127 array_merge(): Argument #2 must be of type array, float given
130 array_merge(): Argument #2 must be of type array, null given
133 array_merge(): Argument #2 must be of type array, null given
136 array_merge(): Argument #2 must be of type array, bool given
139 array_merge(): Argument #2 must be of type array, bool given
142 array_merge(): Argument #2 must be of type array, bool given
145 array_merge(): Argument #2 must be of type array, bool given
148 array_merge(): Argument #2 must be of type array, string given
151 array_merge(): Argument #2 must be of type array, string given
162 array_merge(): Argument #2 must be of type array, string given
165 array_merge(): Argument #2 must be of type array, string given
168 array_merge(): Argument #2 must be of type array, string given
171 array_merge(): Argument #2 must be of type array, classA given
174 array_merge(): Argument #2 must be of type array, null given
177 array_merge(): Argument #2 must be of type array, null given
180 array_merge(): Argument #2 must be of type array, resource given