Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<p>The parameter "mode 3" will return a string with all the different characters used. In this example, the characters used in "Hello World!" are:</p>
<?php
$str = "Hello World!";
echo count_chars($str,3);
?> 
</body>
</html>

The parameter "mode 3" will return a string with all the different characters used. In this example, the characters used in "Hello World!" are:

!HWdelor