lcfirst

Make a string's first character lowercase

&reftitle.description; `string` `lcfirst` `string` `string`

Returns a string with the first character of `string` lowercased if that character is an ASCII character in the range `"A"` (0x41) to `"Z"` (0x5a).

&reftitle.parameters;

`string`

- The input string.

&reftitle.returnvalues;

Returns the resulting string.

&reftitle.changelog;

&Version; | &Description;
&strings.changelog.ascii-case-conversion;

&reftitle.examples;

### `lcfirst` example

    <?php
    $foo = 'HelloWorld';
    $foo = lcfirst($foo);             // helloWorld

    $bar = 'HELLO WORLD!';
    $bar = lcfirst($bar);             // hELLO WORLD!
    $bar = lcfirst(strtoupper($bar)); // hELLO WORLD!
    ?>

&reftitle.seealso;

- `ucfirst`
- `strtolower`
- `strtoupper`
- `ucwords`