I have following two arrays and the code to find array_diff:
$obs_ws = array(\"you\", \"your\", \"may\", \"me\", \"my\", \"etc\");
$all_ws = array(\"LOVE\", \"Wo
You were on the right track. This is my suggestion:
function array_casecmp($arr1,$arr2){
return array_udiff($arr1,$arr2,'strcasecmp');
}
$obs_ws = array("you", "your", "may", "me", "my", "etc");
$all_ws = array("LOVE", "World", "Your", "my", "etc", "CoDe");
var_dump( array_casecmp($all_ws,$obs_ws) );