Answers for "how to compare 2 multi arrays in php"

PHP
3

compare two arrays and return the difference php

array_merge(array_diff($array1,$array2),array_diff($array2,$array1))
Posted by: Guest on March-11-2021

Code answers related to "how to compare 2 multi arrays in php"

Browse Popular Code Answers by Language