3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "aabbbbabbaa"; print_r(preg_split("/?=a/", $a));
based on PCmHR
Output for 7.3.0alpha1 - 7.3.0rc3
Warning: preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in /in/3WHA2 on line 5
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.6
Warning: preg_split(): Compilation failed: nothing to repeat at offset 0 in /in/3WHA2 on line 5
Output for hhvm-3.15.4
Warning: Compilation failed: nothing to repeat at offset 0 in /in/3WHA2 on line 5