3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(in_array('x', array(0,1,2))); var_dump(in_array(false, array(0,1,2)));
based on RONsH
Output for 4.3.0 - 7.3.1
bool(true) bool(true)