3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<<CONTENT a @tag CONTENT; $matches = array(); var_dump(preg_match('/^\A\w*@/', $content, $matches, null, 2) === 1);

preferences:
45.31 ms | 402 KiB | 5 Q