array_unique
Dots masīvs:
<?php $arr = ['a', 'b', 'c', 'b', 'a']; ?>
Noņemiet no šī masīva atkārtojošos elementus.