Showing posts with label strtolower. Show all posts
Showing posts with label strtolower. Show all posts

Tuesday, September 16, 2008

The strtolower() function

This function returns the lowercase version of a given string.

Syntax: strtolower(string);

Example input:

$str1=" MY PROGRAM";
echo strtolower($str1);
echo "
";
echo $str1;

Example output:

my program

MY PROGRAM