3v4l.org

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

preferences:
30.91 ms | 402 KiB | 5 Q