Created
February 24, 2016 11:27
-
-
Save Foxy79/409fe2335d653c3a0066 to your computer and use it in GitHub Desktop.
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 ev_mb_ucfirst($str) { | |
$fc = mb_strtoupper(mb_substr($str, 0, 1)); | |
return $fc.mb_substr($str, 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment