3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = [123 => 4000. 124 => 4000]; var_dump(array_unique(array_values($arr));
Output for 5.6.38 - 7.3.0rc3
Parse error: syntax error, unexpected '124' (T_LNUMBER), expecting ']' in /in/uVPte on line 3
Process exited with code 255.