3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php array_unique(array(14, 21, 3, 4, 6, 14, 15, 17, 21, 22, 23, 24), SORT_NUMERIC);
Output for 5.2.9 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 5.2.3 - 5.2.8
Warning: Wrong parameter count for array_unique() in /in/GZWMe on line 3
Output for 4.3.0 - 5.2.2
<br /> <b>Warning</b>: Wrong parameter count for array_unique() in <b>/in/GZWMe</b> on line <b>3</b><br />