3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/\B@([\w-\.]+)\b/', 'foo');

preferences:
54.06 ms | 404 KiB | 5 Q