UK[fɜ:st] US[fɜ:rst]
n. First, first; first class; number one,; [music] treble part
adv. first time; earliest , initially; rather; priority
adj. First-class; initial, earliest; basic, summary; high-pitched
num. First
plural: firsts
php ucfirst() function syntax
Function:Capitalize the first letter of the string
Syntax:ucfirst(string)
Parameters:
Parameter | Description |
string | Required, specifies the characters to be converted String |
Description:Convert the first character in the string to uppercase.
php ucfirst() function example
Output:
Hello world
Output:
Hi php.cn