3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array('testing',0,'name'); var_dump(in_array('foo', $array)); var_dump(array_search('foo', $array, true));
Output for 4.3.0 - 7.2.0
bool(true) bool(false)