3v4l.org

run code in 300+ PHP versions simultaneously
<?php $submission['group_1']['city'] = 'asd'; $city = isset($submission['group_1']['city']) ? $submission['group_1']['city'] : ''; echo preg_match('/^asd$/', $city);

preferences:
15.78 ms | 404 KiB | 5 Q