3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(TRUE, null); var_dump(in_array(10, $arr)); var_dump(in_array(0, $arr)); var_dump(in_array("foo", $arr));
based on hcDLf
Output for 5.6.38 - 7.3.0rc3
bool(true) bool(true) bool(true)