PHP lcfirst() Function

The lcfirst() function in PHP converts the first character of a string to lowercase if that character is alphabetic.

Syntax

Parameter

str(required)- This parameter signifies the input string.

Return

This function returns a string with the first character lowercased if that character is alphabetic.

Example 1

Output

Example 2

Output

Example 3

Output

Pin It on Pinterest

Share This