using array_diff to remove array_filter with custom function