3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $people = array('samp'=>'Peter', 'jack'=>'Joe'); if (in_array("Jack", $people)) { echo "Match found"; } else { echo "Match not found"; } ?>
Output for 4.3.0 - 7.1.0
Match not found