$diff_data = array_filter($data1, function($v) use ($data2) { return ! in_array($v, $data2);});
php对比二个不同的二维数组
原文:https://www.cnblogs.com/qxandxt/p/11069577.html