3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array(array('con_id'=>44),array('con_id'=>217),); $result = count(array_unique($array, SORT_REGULAR))==1; var_dump($result);
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 4.3.0 - 5.2.8
Warning: Wrong parameter count for array_unique() in /in/5uqYR on line 3 bool(false)