<!DOCTYPE html>
<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>

<?php
$str = "Hello World!";
print_r(count_chars($str,1));
?>
  

</body>
</html>