3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(true, 'a'); var_dump(in_array('1', $a)); $a = array(true, 'a'); var_dump(in_array('1', $a, true));
based on gXDb5
Output for 4.3.0 - 7.2.0
bool(true) bool(false)