3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mena = array( 22 => 'AE', 28 => 'QA', 32 => 'EG', 34 => 'SA', 46 => 'MA', 47 => 'JO', 60 => 'KW', 64 => 'BH', 68 => 'LB', 73 => 'OM' ); var_dump(in_array('OM', $mena));
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.8
bool(true)