| Viewed 109 times

How I can count the Letters and Digits in PHP?


I need a function that takes a string and calculates the number of letters and digits within it. Return the result as an object.

PHP