strtolower() function converts a string to all lowercase letters. : strtolower « String « PHP






strtolower() function converts a string to all lowercase letters.

 
Its syntax is: string strtolower (string string)

<?
    $sentence = "COOKING";
    $sentence = strtolower($sentence);
    print $sentence;
?>
  
  








Related examples in the same category

1.Changing case
2.Controlling Case: string strtoupper ( string string ),string strtolower ( string str )
3.string strtolower ( string str ) returns that string entirely in lowercase characters.
4.strtolower.php