3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numbers = [2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5]; print_r(array_unique($numbers));
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.25, 8.0.0 - 8.0.12, 8.1rc1 - rc3
Array ( [0] => 2 [1] => 3 [2] => 4 [9] => 5 [11] => 6 [13] => 7 [15] => 32 )

preferences:
41.88 ms | 460 KiB | 5 Q