fork download
  1. <?php
  2.  
  3. // String which is 3 characters long
  4. $str = "Æ¢";
  5.  
  6. strlen($str),
  7. mb_strlen($str)
  8. );
Success #stdin #stdout 0.02s 24448KB
stdin
Standard input is empty
stdout
int(6)
int(3)