3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = ' one! two: three; '; print_r(array('', str_word_count($str, 1)));

preferences:
46.7 ms | 402 KiB | 5 Q