strtolower

Make a string lowercase

&reftitle.description; `string` `strtolower` `string` `string`

Returns `string` with all ASCII alphabetic characters converted to lowercase.

Bytes in the range `"A"` (0x41) to `"Z"` (0x5a) will be converted to the corresponding lowercase letter by adding 32 to each byte value.

This can be used to convert ASCII characters within strings encoded with UTF-8, since multibyte UTF-8 characters will be ignored. To convert multibyte non-ASCII characters, use `mb_strtolower`.

&reftitle.parameters;

`string`

- The input string.

&reftitle.returnvalues;

Returns the lowercased string.

&reftitle.changelog;

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

&reftitle.examples;

### `strtolower` example

    <?php
    $str = "Mary Had A Little Lamb and She LOVED It So";
    $str = strtolower($str);
    echo $str; // Prints mary had a little lamb and she loved it so
    ?>

&reftitle.notes; ¬e.bin-safe;
&reftitle.seealso;

- `strtoupper`
- `ucfirst`
- `ucwords`
- `mb_strtolower`