Why statistical functions don't work
小杰
小杰 2019-11-25 11:45:32
0
0
1153

源码:

@header("content-Type: text/html; charset=utf-8");
$demon = 'm.sbmmt.com';
$Chinese = 'PHP中文网';
echo strlen($demon),'<hr>';
echo strlen($Chinese),'<hr>';
echo mb_strlen($demon),'<hr>';
echo mb_strlen($Chinese),'<hr>';
echo mb_strwidth($demon),'<hr>';
echo mb_strwidth($Chinese),'<hr>';

输出:

10

12

10

12##%

小杰
小杰

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template