rafael.paulino / update-list-pattern
Class to return differences between arrays
1.0.0
2019-02-19 19:41 UTC
Requires
- php: >=7.2
Requires (Dev)
- phpunit/phpunit: ^8
This package is auto-updated.
Last update: 2024-10-20 09:14:35 UTC
README
Class to return differences between arrays
Example of use
Install: composer require rafael.paulino/update-list-pattern
<?php require '../vendor/autoload.php'; use UpdateListPattern\UpdateListPattern; $array1 = array("a" => "verde", "vermelho", "azul", "vermelho"); $array2 = array("b" => "verde", "amarelo", "vermelho"); $result = new UpdateListPattern($array1, $array2); $result = $result->getResults(); print_r($result);