php count words in string code example Example: counting a string in php strlen('your strings here!');