Huh, looking at all those string functions, sometimes I get confused. One is using all the time mb_
functions, the other - plain ones, so the question is simple...
When should I use mb_strpos();
and when should I go with the plain one (strpos();
)?
And, yes, I'm aware about that mb_
functions stand for multi-byte, but does it really mean, that if I'm working with only utf-8 encoded strings, I should stick with mb_
functions?
Thanks in advance!
mb_
functions on UTF-8 strings containing only ASCII characters? Would it be slower/faster/no significant difference (as always..)? interested becausemb_
looks like de facto choice when working with UTF-8 strings, even if they contain only ASCII – Sotos