3v4l.org

run code in 300+ PHP versions simultaneously
<?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'));

preferences:
51.5 ms | 402 KiB | 5 Q