Lines Matching refs:arrays
1844 //For this to work, we need to reorganize the data arrays.
3548 * Merges arrays recursively, overwriting values of the first array with values of later arrays
3554 $arrays = func_get_args();
3555 $narrays = count($arrays);
3560 if (!is_array($arrays[$i])) {
3568 $ret = $arrays[0];
3570 // merege $ret with the remaining arrays
3572 foreach ($arrays[$i] as $key => $value) {
3574 // if $ret[$key] is not an array you try to merge an scalar value with an array - the result is not defined (incompatible arrays)