3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array(array('con_id'=>44),array('con_id'=>44),); $result = count(array_unique($array, SORT_REGULAR))==1; var_dump($result);
Output for 5.2.9 - 7.1.0
bool(true)
Output for 5.2.3 - 5.2.8
Warning: Wrong parameter count for array_unique() in /in/D2d4I on line 3 bool(false)
Output for 4.3.0 - 5.2.2
<br /> <b>Warning</b>: Wrong parameter count for array_unique() in <b>/in/D2d4I</b> on line <b>3</b><br /> bool(false)