The following call fails to detect the diacritic mark that is part of the first letter.
print Fallback::mb_substr("i̇zmir", 0, 1);
The first 'i' letter has the diacritic mark, with overall utf8 representation 69 cc 87:
U+0069 LATIN SMALL LETTER I character
U+0307 COMBINING DOT ABOVE character (̇)
Above Fallback::mb_substr only returns U+0069, and not the diacritic mark. Please note that capitalized version of 'i̇' is only one codepoint.
Since this function is used to capitalize the first letter of wiki title, in case when PHP doesn't have mbstring support, this string will be incorrectly capitalized when supplied as wiki title.