Last active
November 27, 2016 21:04
-
-
Save lfbittencourt/881f55c2d95810568ed7 to your computer and use it in GitHub Desktop.
mb_ucfirst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function mb_ucfirst($value) | |
{ | |
return mb_strtoupper(mb_substr($value, 0, 1)) . mb_substr($value, 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Tecvid Haven't seen your comment before! You're right. I fixed function's name :-) Thanks!