PHP - Check if two arrays are equal

后端 未结 15 2074
说谎
说谎 2020-11-22 11:26

I\'d like to check if two arrays are equal. I mean: same size, same index, same values. How can I do that?

Using !== as suggested by a user, I expect th

15条回答
  •  孤城傲影
    2020-11-22 11:44

    !=== will not work because it's a syntax error. The correct way is !== (not three "equal to" symbols)

提交回复
热议问题