3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 18 => 1); if (in_array(1, $arr)){ echo 'yaya'; }
Output for 4.3.0 - 7.1.0
yaya