Answers for "php in compare 2 array and get comman values"

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 "php in compare 2 array and get comman values"

Browse Popular Code Answers by Language