原始碼:
@header("content-Type: text/html; charset=utf-8");$demon = 'www.php.cn';$Chinese = 'PHP中文網';echo strlen($demon),'
輸出:
10
12