xxxxxxxxxx
/* The strtolower() function converts a string to lowercase.
Convert all characters to lowercase.*/
<?php
echo strtolower("Hello WORLD.");
?>
// Output: hello world.
xxxxxxxxxx
/* strtolower() function converts string to lowercase. */
<?php
echo strtolower("Hello WORLD 123");
?>
// Output:hello world 123
xxxxxxxxxx
strtolower ( string $string ) : string
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
xxxxxxxxxx
The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets present in the string to lowercase.
xxxxxxxxxx
strtolower ( string $string ) : string
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets present in the string to lowercase.
xxxxxxxxxx
/* There is a function in php wich convert all paragraph or
string to lowercase*/
<?php
echo strtolower("Hey Samy, HAVE YOU CHECK THE LATEST MOVIE.");
// Output: hey samy, have you check the latest movie.
?>
xxxxxxxxxx
<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);
echo $str;
// Result: mary had a little lamb and she loved it so
xxxxxxxxxx
$text = "HELLO WORLD";
$lowercaseText = strtolower($text);
echo $lowercaseText;
xxxxxxxxxx
<?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
?>