3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myarray = array('2020','2020'); $resultmatch = array_unique($myarray); var_dump($resultmatch);

preferences:
25.11 ms | 405 KiB | 5 Q