1.12.x drupal.inc &drupal_array_get_nested_value(array &$array, array $parents, &$key_exists = NULL)
1.10.x drupal.inc &drupal_array_get_nested_value(array &$array, array $parents, &$key_exists = NULL)
1.11.x drupal.inc &drupal_array_get_nested_value(array &$array, array $parents, &$key_exists = NULL)
1.7.x drupal.inc &drupal_array_get_nested_value(array &$array, array $parents, &$key_exists = NULL)

Retrieves a value from a nested array with variable depth.

Deprecated

since 1.0.0

See also

backdrop_array_get_nested_value()

Related topics

File

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

Code

function &drupal_array_get_nested_value(array &$array, array $parents, &$key_exists = NULL) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_array_get_nested_value($array, $parents, $key_exists);
}