Zählen Sie Wörter in String PHP

#Text must be in double-qoutes in brackets

echo str_word_count("Text goes here...");
Rick Astley