3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_match('/^([\pL\pN\pS-]+\.)[\pL]+$/', utf8_decode('exämple.org')); echo ' but '; echo preg_match('/^([\pL\pN\pS-]+\.)[\pL]+$/', utf8_decode('exömple.org'));
based on 0dZCZ
Output for 5.3.20 - 7.2.0
1 but 1