<?php for($s=fgets(STDIN);$a=strlen(mb_substr($s,$i++,1));)echo$a;
ĉaŭ
12112
PHP Notice: Undefined variable: i in /home/YAKcvN/prog.php on line 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!