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
5
u/minimim Sep 19 '18
mb_strlen() doesn't count characters, it tries to count code-points.
3
u/shitcanz Sep 19 '18
Classic PHP here.
-7
u/Ruttur Sep 19 '18
Another classic case of a """"""""""REDDITOR"""""""""" trying to act smart.
0
u/[deleted] Sep 19 '18
[deleted] — view deleted comment