3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('maca', 'banana', 'melancia'); if (in_array('banana', $array)) { echo 'true'; } else { echo 'false'; }
based on 8aoT5
Output for 4.3.0 - 7.1.0
true