3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('pcre.backtrack_limit', 100000000); ini_set('pcre.recursion_limit', 100000000); preg_match('~(a)*~', str_repeat('a', 20000), $match); var_dump($match);
Output for 7.0.0 - 7.1.0
array(0) { }
Output for 4.3.0 - 5.6.23

Process exited with code 139.