PHP Mixed Count_Chars ( String Str [, Int Mode] ) Returns Array Containing Letters Used In That String And How Many Times Each Letter Was Used. – String Function

<?
    $str = "This is a test, only a test, and nothing but a test.";
    $a = count_chars($str, 1);
    print_r($a);
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.