Show Output
Example of Comparing the Two PHP Array Elements
"sky", "star", "moon", "cloud", "moon"); $array2 = array("b" => "sky", "sun", "moon"); // Comparing the values $result = array_diff($array1, $array2); print_r($result); ?>