<?php $sql = [1 => ["id" => 1, "num" => "123"], 2 => ["id" => 2, "num" => "456"]]; $mongo = ["id" => 1, "num" => "123"]; $mongo = array($mongo); array_diff($sql, $mongo);
You have javascript disabled. You will not be able to edit any code.