Arrays values not identical (but they are?)

前端 未结 3 2618
鱼传尺愫
鱼传尺愫 2021-02-20 17:47

I have two arrays. They seem to contain at least one identical set of values, but performing array_diff() does not return anything even though I think it should!

3条回答
  •  借酒劲吻你
    2021-02-20 17:56

    Check if arrays passed to array_diff() are in right order. Caught myself few times on this.

提交回复
热议问题