3v4l.org

run code in 200+ php & hhvm versions
<?php $res = preg_match('/^(A{1,2}B)+$/',str_repeat('AB',8192)); if ($res === false) { var_dump(preg_last_error() == PREG_JIT_STACKLIMIT_ERROR); } ?>
based on 5u2oQ
Output for 7.0.0 - 7.3.1
bool(true)
Output for 5.4.41 - 5.4.45, hhvm-3.10.1 - 3.17.3
Output for 4.3.0 - 5.4.40, 5.5.0 - 5.6.30

Process exited with code 139.