php man page for lcfirst

Query: lcfirst

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LCFIRST(3)								 1								LCFIRST(3)

lcfirst - Make a string's first character lowercase

SYNOPSIS
string lcfirst (string $str)
DESCRIPTION
Returns a string with the first character of $str , lowercased if that character is alphabetic. Note that 'alphabetic' is determined by the current locale. For instance, in the default "C" locale characters such as umlaut-a (a) will not be converted.
PARAMETERS
o $str - The input string.
RETURN VALUES
Returns the resulting string.
EXAMPLES
Example #1 lcfirst(3) example <?php $foo = 'HelloWorld'; $foo = lcfirst($foo); // helloWorld $bar = 'HELLO WORLD!'; $bar = lcfirst($bar); // hELLO WORLD! $bar = lcfirst(strtoupper($bar)); // hELLO WORLD! ?>
SEE ALSO
ucfirst(3), strtolower(3), strtoupper(3), ucwords(3). PHP Documentation Group LCFIRST(3)
Related Man Pages
runkit_method_rename(3) - php
parse_str(3) - php
mb_strtolower(3) - php
ucwords(3) - php
mb_strtoupper(3) - php
Similar Topics in the Unix Linux Community
Changing the character after the Underscore(_)
Some New Thread Title Changes
New Plugin: Neo - Process Title in New Thread
How to rename (move) most recent files in directory?