3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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);
Output for 4.3.0 - 7.1.0
Array ( )