3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'Training bench with two arm curlers, leg curler and barbell rack, Max. load: 160kg'; var_dump(preg_split('/?<!(, )[A-Z]/', $string, null, PREG_SPLIT_DELIM_CAPTURE));
based on MpNIu
Output for 7.3.0alpha1 - 7.3.0beta1
Warning: preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in /in/uRZ0s on line 5 bool(false)
Output for 5.6.0 - 5.6.30, 7.1.0 - 7.2.6
Warning: preg_split(): Compilation failed: nothing to repeat at offset 0 in /in/uRZ0s on line 5 bool(false)
Output for hhvm-3.22.0
Warning: Compilation failed: nothing to repeat at offset 0 in /in/uRZ0s on line -1 bool(false)
Output for hhvm-3.18.5 - 3.21.3
Warning: Compilation failed: nothing to repeat at offset 0 in /in/uRZ0s on line 5 bool(false)