3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(0 => 'north', 2 => -1, true); echo in_array(6,$a,true);
based on EPDKo
Output for 4.3.0 - 7.2.0