Extensive Array Compare
function array_compare($weighted, $comparable){
return array_merge(array_diff_assoc($weighted, $comparable), array_diff_assoc($comparable, $weighted));
}
function array_compare($weighted, $comparable){
return array_merge(array_diff_assoc($weighted, $comparable), array_diff_assoc($comparable, $weighted));
}
So, what do you think ?