3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $submission['group_1']['city'] = 'asd'; $city = isset($submission['group_1']['city']) ? $submission['group_1']['city'] : ''; echo preg_match('/^[asd|as]$/', $city);
based on vbeeh
Output for 4.3.0 - 7.2.0
0