3v4l.org

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

preferences:
28.24 ms | 402 KiB | 5 Q