3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(str_word_count(' one two three four five six ', 2));

preferences:
40.96 ms | 402 KiB | 5 Q