Phpdocs 24

CategoryString Functions - 10. count_chars -- Return information about characters used in a string
Code Examples $val) { echo "There were $val instance(s) of \"" , chr($i) , "\" in the string.\n"; } print_r(count_chars($data, 1)); echo ord('T'); echo chr(84);
Test Code
Web Linkhttp://www.php.net/manual/en/function.count-chars.php
Remarks
Cancel