3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "aabbbbabbaa"; print_r(preg_split("/a/", $a));
based on TbNtr
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1
Array ( [0] => [1] => [2] => bbbb [3] => bb [4] => [5] => )