<?php $input = ["a" => ["green"], ["red"], "b" => ["green"], ["blue"], ["red"]]; $result = array_unique($input); print_r($result);
You have javascript disabled. You will not be able to edit any code.