<?php $name = "ХЭШКОД";if(!preg_match('/^[а-яё]*$/iu', $name)) echo 'неок!';else echo 'ок!';
Standard input is empty
ок!
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!