3v4l.org

run code in 500+ PHP versions simultaneously
<?php $res = preg_match('/^(A{1,2}B)+$/',str_repeat('AB',8192)); if ($res === false) { var_dump(preg_last_error() == PREG_JIT_STACKLIMIT_ERROR); } ?>

preferences:
47.36 ms | 2304 KiB | 5 Q