3v4l.org

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

preferences:
58.16 ms | 402 KiB | 5 Q