Probably a duplicate...
Array1 = ['a'=>1, 'b'=>2, 'c'=>3];
Array1 = ['a'=>1, 'b'=>2, 'c'=>'anaconda'];
$keys = ISTHEREAFUCNTION(array1, array2);
echo ($keys);
// c
Is there a function that compares arrays by value and return keys of array1 values different from values of array2?
I can do it just iterating over both arrays, but maybe there is a more elegant solution?
Thank you!