<?php $arrayKeys = ["fname" , "lname" , "city" , "country"]; $arrayValues = ["Sudhir" , "Gour" , "Jaipur" , "India"]; print_r(array_diff($arrayKeys , $arrayValues)); // returns the elements of first array that don't match in the other arrays.
To embed this program on your website, copy the following code and paste it into your website's HTML: