3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('/^(A{1,2}B)+$/',str_repeat('AB',8192))); ?>
based on IWGam
Output for 7.0.0 - 7.2.0
bool(false)
Output for 5.3.21 - 5.4.40, 5.5.24 - 5.6.28

Process exited with code 139.
Output for 5.4.41 - 5.4.45
int(1)