3v4l.org

run code in 300+ PHP versions simultaneously
<?php function check($value) { return (bool)preg_match('/([А-Я]){1}/', $value); }; $test = 'Ф'; var_dump(check($test));

preferences:
38.29 ms | 402 KiB | 5 Q