<?php $a=array("a"=>"red","b"=>"green","c"=>"red"); print_r(array_unique($a)); ?>
Pro tip: use ```triple backticks around text``` to write in code fences