3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $message = "Apakah ada cara yang lebih cepat untuk mendapat 10 kata pertama selain cara di bawah."; print_r(preg_split('/(?<=[\s,]?)/', $message, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY));
based on vrOTQ
Output for 7.3.0alpha1 - 7.3.0rc3
Warning: preg_split(): Compilation failed: lookbehind assertion is not fixed length at offset 0 in /in/K0Elm on line 4
Output for 5.6.38 - 7.2.11
Warning: preg_split(): Compilation failed: lookbehind assertion is not fixed length at offset 10 in /in/K0Elm on line 4