3v4l.org

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