3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match('/la((b(a))*)/','lababababa',$match); var_dump($match);
Output for 4.3.0 - 7.2.0
array(4) { [0]=> string(10) "lababababa" [1]=> string(8) "babababa" [2]=> string(2) "ba" [3]=> string(1) "a" }