Why doing `strlen` and `mb_strlen` two times?