3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $state = "MD"; $states = ['MD' => [], 'WI' => [], 'NY' => []]; var_dump(in_array($state, array_keys($states)));
based on m5BIN
Output for 5.4.0 - 7.2.0
bool(true)