3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('7.1'); if( in_array('7.10', $a) ) { echo 'A'; } else { echo 'B'; }
Output for 4.3.0 - 7.1.0
A