Menu Riverview Church

UCFIRST

Make a string's first character uppercase

SYNTAX

ucfirst ( string $str ) : string

PARAMETERS

str

The input string.

RETURN

Returns the resulting string.

EXAMPLES

1

Hello World!

2

Hello world!

3

HELLO WORLD!

PHP