3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('a', 'b'); var_dump(in_array($array, array($array), TRUE)); var_dump(in_array($array, $array, TRUE)); var_dump(in_array($array, $array, FALSE));
Output for 4.3.0 - 7.1.0
bool(true) bool(false) bool(false)