so for example I have an associative array like
array( "a" => 23, "b" => 48, "c" => 10, "d" => 19 )
Let's call it ArrayA. And another array (ArrayB) that is
array( "a", "c" )
I want to get ArrayA's keys that do not occur in ArrayB, which would be "b" and "d".
I haven't found anything useful when googling but I assume that there is a php function for that or how would you solve this as fancy as possible?
array_diff_key($arrayA, array_flip($arrayB))array_diff(array_keys($a), $b)