PHP相同的数组检查时返回false


PHP identical arrays return false on check

我正在检查两个数组是否相同,即使我知道它们是相同的,我的条件返回false。

下面是两个数组:http://pastebin.com/knekiW67

代码如下:

$stored_items = (Array1 in Pastebin link)
$new_items = (Array2 in Pastebin link)
if($stored_items === $new_items) {
    return true;
} else {
    return false;
}

我甚至使用https://www.diffchecker.com/检查了两个数组,它的响应是它们是相同的。

有人知道为什么它返回false吗?

===如果不工作的数组(只有字符串和int)

检查数组需要使用http://php.net/manual/ru/function.array-diff-ukey.php和特殊的回调