3v4l.org

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