3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $MiscVars = array(7,9,0,1,7); //print_r(array_unique($MiscVars, SORT_NUMERIC)); echo implode(',', array_unique($MiscVars, SORT_NUMERIC));
Output for 5.2.9 - 7.1.0
7,9,0,1
Output for 5.2.5 - 5.2.8
Warning: Wrong parameter count for array_unique() in /in/NVEpI on line 4 Warning: implode(): Invalid arguments passed in /in/NVEpI on line 4
Output for 4.3.2 - 5.2.4
Warning: Wrong parameter count for array_unique() in /in/NVEpI on line 4 Warning: implode(): Bad arguments. in /in/NVEpI on line 4
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for array_unique() in /in/NVEpI on line 4 Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/NVEpI on line 4