<?php $array1 = array("a" => "grün", "rot", "blau", "rot"); $array2 = array("b" => "grün", "gelb", "rot"); $result = array_diff($array1, $array2); print_r($result); ?>