3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $jackpots = array( '2'=>'test 2', '2-5reel'=>'test 2 5 reel', ); $selected=array('2-5reel'); if(in_array(2,$selected)){ echo 'fuck<br />'; }
Output for 4.3.0 - 7.1.0
fuck<br />