3v4l.org

run code in 300+ 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:
45.66 ms | 402 KiB | 5 Q