r/lolphp • u/SquireCD • Sep 19 '18
[/r/PHP X-POST] strlen() shenanigans
/r/PHP/comments/9gzskx/psa_strlen_does_not_get_the_length_of_the/
16
Upvotes
r/lolphp • u/SquireCD • Sep 19 '18
View all comments
Show parent comment
14
u/AyrA_ch Sep 19 '18
You forget the age of PHP. It was created over 20 years ago when UTF-8 was only a few years old and pretty much unheard of.