Anonymous user / 44.205.3.18 Log In Register
?
Wallet: 3.00
Daily Credits:
1.20 / 1.20

PHP Functions Online


strtolower

(PHP 4, PHP 5)

strtolowerMake a string lowercase

string strtolower(string $str)

Checkout ? #

Item Description Item Price Your Price
Total

Preview #

${{ variable.param.name }} = {{ variable.param|getValue:variable.form:true }};
{{ call.result}} = ;

Description #

string strtolower ( string $str )

Returns string with all alphabetic characters converted to lowercase.

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

Parameters #

str

The input string.

Return Values #

Returns the lowercased string.

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
?>

Notes #

Note: This function is binary-safe.

See Also #