获取您自己的 PHP 服务器 Result Size: 625 x 664
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>

参数“mode 3”将返回一个包含所有不同字符的字符串。在本例中,"Hello World!" 中使用的字符是

!HWdelor