3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern_without_interpolation = <<<'EOD' / \d+ # one or more digits \ # a single space \p{L}+ # one or more letters \# # a literal hash symbol /ux EOD; if (preg_match($pattern_without_interpolation, '1 pound#', $m)) { echo $m[0]; }

preferences:
27.95 ms | 404 KiB | 5 Q