1.12.x drupal.inc drupal_array_merge_deep()
1.10.x drupal.inc drupal_array_merge_deep()
1.11.x drupal.inc drupal_array_merge_deep()
1.7.x drupal.inc drupal_array_merge_deep()

Merges multiple arrays, recursively, and returns the merged array.

Deprecated

since 1.0.0

See also

backdrop_array_merge_deep()

Related topics

File

includes/drupal.inc, line 316
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_array_merge_deep() {
  $args = func_get_args(); // pass $args to function
  return call_user_func_array('backdrop_array_merge_deep', $args);
}