3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [3, "AA", [1,2], 444, ["V"]]; $a = @array_keys(array_flip($arr)); print_r($a);

preferences:
119.07 ms | 406 KiB | 5 Q