3v4l.org

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