convert string to lowercase in php
snippet in php

convert string to lowercase in php

user4344

/* strtolower() function converts  string to lowercase. */
<?php
echo strtolower("Hello WORLD 123");
?>
// Output:hello world 123

convert string to lowercase in php

user6185

/* The strtolower() function converts a string to lowercase.
Convert all characters to lowercase.*/
<?php
echo strtolower("Hello WORLD.");
?>
// Output: hello world.

convert string to lowercase in php

user3902

/* 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.
?>