案例:php案例     状态:不可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<body>
4
5
<p>参数 "mode 4" 会返回包含所有未使用字符的字符串。在本例中,在 "Hello World!" 中未使用过的是:</p>
6
7
<?php
8
$str = "Hello World!";
9
echo count_chars($str,4);
10
?>  
11
12
</body>
13
</html>