<html>
<body>
<p>Mode 1 will return an array with the ASCII value as key and how
many times it occurred as value (e.g. in this example, the ASCII value for the letter "l" is 108, and it occurs three times. The ASCII value for "space" is 32):</p>
$str = "Hello World!";
print_r(count_chars($str,1));
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_string_count_chars3 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:51:05 GMT -->
</html>