Hacker News new | comments | show | ask | jobs | submit login

He's right though, PHP has no reliable way to obtain the length of a string in characters, unless you keep track of which character set a string is in and carefully manipulate the mbstring functions.

Doing multibyte string handling properly in PHP is way harder than it should have been.

I spat my coffee out laughing. Because he is so right.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact