<?php var_dump(mb_strlen("世界"), strlen("世界"));
Standard input is empty
int(2) int(6)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!