No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

strtolower

(PHP 4, PHP 5, PHP 7)

strtolowerMake a string lowercase

Description

strtolower ( string $string ) : string

Returns string with all alphabetic characters converted to lowercase.

Note that 'alphabetic' is determined by the current locale. This means that e.g. in the default "C" locale, characters such as umlaut-A (Ä) will not be converted.

PHP: strtolower - Manual Home of Manuel PHP  Contents Haut

Parameters

string

The input string.

PHP: strtolower - Manual Home of Manuel PHP  Contents Haut

Return Values

Returns the lowercased string.

PHP: strtolower - Manual Home of Manuel PHP  Contents Haut

Examples

Example #1 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
?>

PHP: strtolower - Manual Home of Manuel PHP  Contents Haut

Notes

Note: This function is binary-safe.

PHP: strtolower - Manual Home of Manuel PHP  Contents Haut

See Also

Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph