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))==1);
Output for 5.5.0 - 7.1.0
Notice: Array to string conversion in /in/RtVGv on line 4 Notice: Array to string conversion in /in/RtVGv on line 4 Notice: Array to string conversion in /in/RtVGv on line 4 Notice: Array to string conversion in /in/RtVGv on line 4 bool(true)
Output for 4.3.0 - 5.2.8, 5.2.10 - 5.4.45
bool(true)
Output for 5.2.9
bool(false)