PHP Interface Inpsyde\MultilingualPress\Common\ArrayDiffer

Since: 3.0.0
Show file Open project: inpsyde/multilingual-press

Public Methods

Method Description
diff ( array $a, array $b ) : array Compares the given arrays and returns a new array holding the differences only.

Method Details

diff() public method

Compares the given arrays and returns a new array holding the differences only.
Since: 3.0.0
public diff ( array $a, array $b ) : array
$a array An array of values.
$b array Another array of values.
return array The array holding the differences only.