array_diff does not take references. I.e. you have to use the returned value.