While developing another WordPress plugin, I needed an equivalent of the PHP ucfirst function, but in the mb_* version (i.e., for multibyte strings). Visiting php.net, I was surprised to find that such a function doesn't exist. After digging through the internet, I found one (or maybe two) solutions on Stack Overflow.
