Answers for "how can we compare the values of two array 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 can we compare the values of two array in php"

Browse Popular Code Answers by Language