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:
20.46 ms | 476 KiB | 4 Q