Removing Duplicates from an Array in PHP
array_uniqueЗадание 1
Given an array:
php<?php
$arr = ['a', 'b', 'c', 'b', 'a'];
?>
Remove duplicate elements from this array.
array_uniqueGiven an array:
php<?php
$arr = ['a', 'b', 'c', 'b', 'a'];
?>
Remove duplicate elements from this array.