3v4l.org

run code in 300+ PHP versions simultaneously
<?php $variable = "Памиы"; preg_match('/^[a-zа-яA-Z0-9-_\/?=& ]+$/i', $variable, $matches); print_r($matches);

preferences:
44.41 ms | 402 KiB | 5 Q