3v4l.org

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

preferences:
43.37 ms | 402 KiB | 5 Q