fork download
  1. <?php
  2.  
  3. var_dump(mb_strlen("世界"), strlen("世界"));
  4.  
Success #stdin #stdout 0.02s 52472KB
stdin
Standard input is empty
stdout
int(2)
int(6)