PHP Classes

PHP Array Diff Multidimensional: Get differences between 2 multidimensional arrays

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 215 This week: 1All time: 8,313 This week: 560Up
Version License PHP version Categories
php-array-diff-multi 1.0.0Custom (specified...7Data types, PHP 7
Description 

Author

This class can get differences between 2 multidimensional arrays.

It can take as parameters two arrays and traverse them to find the differences.

The class returns another array that shows the elements of the first array that are not in the second array.

Innovation Award
PHP Programming Innovation award nominee
March 2019
Number 3
Sometimes applications need to determine the differences between two sets of information to be able to process the changes for some useful purpose, like for instance comparing two texts and show what was changed between them.

This class can compare two arrays that can have multiple dimensions and return the differences between them.

Manuel Lemos
Picture of Niko
  Performance   Level  
Name: Niko <contact>
Classes: 8 packages by
Country: Finland Finland
Age: ???
All time rank: 29146 in Finland Finland
Week rank: 109 Up2 in Finland Finland Up
Innovation award
Innovation award
Nominee: 5x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagescripts (1 file)
Files folder imagesrc (1 file)
Files folder imagetests (1 file)
Accessible without login Plain text file .php_cs.dist Example Example script
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  scripts  
File Role Description
  Accessible without login Plain text file composer.sh Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
  Plain text file Multidimensional.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file MultiDimensionalTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:215
This week:1
All time:8,313
This week:560Up