Query: strtolower
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STRTOLOWER(3) 1 STRTOLOWER(3) strtolower - Make a string lowercaseSYNOPSISstring strtolower (string $string)DESCRIPTIONReturns $string with all alphabetic characters converted to lowercase. Note that 'alphabetic' is determined by the current locale. This means that e.g. in the default "C" locale, characters such as umlaut-A (A) will not be converted.PARAMETERSo $string - The input string.RETURN VALUESReturns the lowercased string.EXAMPLESExample #1 strtolower(3) 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 ?>NOTESNote This function is binary-safe.SEE ALSOstrtoupper(3), ucfirst(3), ucwords(3), mb_strtolower(3). PHP Documentation Group STRTOLOWER(3)