<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>
$str = "Hello World!";
echo count_chars($str,3);
</body>
</html>
参数“mode 3”将返回一个包含所有不同字符的字符串。在本例中,"Hello World!" 中使用的字符是
!HWdelor