I am checking whether two arrays are identical and even though I know they are, my conditional returns false.
Here are the two arrays: http://pastebin.com/knekiW67
Here is the code:
$stored_items = (Array1 in Pastebin link)
$new_items = (Array2 in Pastebin link)
if($stored_items === $new_items) {
return true;
} else {
return false;
}
I've even checked the two arrays using https://www.diffchecker.com/ and it responds that they are identical.
Does anyone know why it's returning false?