3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<EOD # a this is what should be returned # \a EOD; preg_match("/#\sa\n(.*?)\n#\s\\a/is", $str, $matches); /* Array ( ) */ print_r($matches);

preferences:
42 ms | 402 KiB | 5 Q