PHP String Count and Word Count

Unlike JavaScript, PHP has ready made functions that can help with the basic tasks. Getting a PHP string count, or a word count is as simple as using a single line of code for each task. Even getting the numbers of characters without spaces is relatively straight forward. It's still »