The most elegant, simple, and efficient solution is the one mentioned in the original question... $ab = array_unique(array_merge($a, $b));.
確定! 回上一頁