collect diff() 方法

diff 方法 与 php内置函数 array_diff返回俩数组的差集

 

 返回 [1,3,5]

posted @ 2019-03-11 09:48  迷失在路上  阅读(153)  评论(0编辑  收藏  举报