3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(PCRE_VERSION, ini_get('pcre.backtrack_limit'),ini_get('pcre.recursion_limit')); //$b = preg_replace('/b.*b/', '', 'baab' . str_repeat('a', 100024)); $b = preg_match('/(.)*/', str_repeat('x', 6000)); var_dump($b, preg_last_error());

preferences:
38.83 ms | 402 KiB | 5 Q