3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'test@0309fdadfbafdbq4e.com'; var_dump( preg_match('/^test\@(.*)\.com$/', $email, $matches), $matches );

preferences:
43.37 ms | 402 KiB | 5 Q