<?php $palavra = "àñáçâçí"; // 7 letras$i = 0;while(!empty($palavra[$i])){ $i++;}echo $i;
Standard input is empty
14
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!