Related Functions

ucfirst

PHP 4.0+

Converts the first character of a string to uppercase if it's an ASCII lowercase letter, returning a new string with the modification applied.

Description

The ucfirst() Converts the first character of a string to uppercase if it's an ASCII lowercase letter, returning a new string with the modification applied.

Example