Topic on Extension talk:PhpTags Functions

Jump to navigation Jump to search

strange results with str_word_count

1
Auvajs (talkcontribs)

{{PAGENAME}}<br /> {{#phptag:echo str_word_count("{{PAGENAME}}");}}

sometimes it gives strange results:

častá procházka
3

šumící les
3

(The page name has two words but the function gives out 3?)