W3cubDocs

/Drupal 8

class DiffArray

Provides helpers to perform diffs on multi dimensional arrays.

Hierarchy

Related topics

Utility classes and functions
Overview of utility classes and functions for developers.

File

core/lib/Drupal/Component/Utility/DiffArray.php, line 10

Namespace

Drupal\Component\Utility

Members

Name Modifiers Type Description
DiffArray::diffAssocRecursive public static function Recursively computes the difference of arrays with additional index check.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!DiffArray.php/class/DiffArray/8.1.x