You are here : phpstringstrtolower

strtolower() - string

Returns string with all alphabetic characters
   converted to lowercase.
Parameters :
  • string - The input string.

  • Syntax

    string strtolower
        ( string $string
       )


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


    Output / Return Value


    Limitations


    Alternatives / See Also


    Reference