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)\s~', $text, -1, PREG_SPLIT_NO_EMPTY));
based on fPmSp
Output for 5.6.38 - 7.3.0rc3
Notice: Undefined variable: text in /in/K1SEQ on line 4 Array ( )