3v4l.org

run code in 300+ PHP versions simultaneously
<?php $variable = "Памиы"; preg_match('/^[\p{L}]+$/i', $variable, $matches); print_r($matches);

preferences:
40.65 ms | 402 KiB | 5 Q