PHP 8.5.0 Alpha 1 available for testing

Voting

: six plus two?
(Example: nine)

The Note You're Voting On

Anonymous
18 years ago
Some simple function for cyrillic and latin letters both:

function rucfirst($str) {
if(ord(substr($str,0,1))<192) return ucfirst($str);
else
return chr(ord(substr($str,0,1))-32).substr($str,1);
}

<< Back to user notes page

To Top