Get array difference?

could you be a bit more specific what you mean with difference? please post same example cases with the expected result.