echo strtoupper('hello');
strtoupper will capitalize the whole string.
If you're only interested in capitalizing the first letter, you can use ucfirst:
echo ucfirst('hello!'); //Hello!
If you want to capitalize the first letter of each word in a string, use ucwords:
echo ucwords('hello world!'); //Hello World!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…