string strtolower
string を、アルファベット部分を すべて小文字にして返します。
「アルファベット部分」は現在のロケールにより決定されます。 このため、たとえばデフォルトの "C" ロケールである場合は、 ウムラウトA (訳注:日本語文字セットでは表示できない文字のため省略) のような文字は変換されません。
例 1. Strtolower()の例
1 2 $str = "Mary Had A Little Lamb and She LOVED It So"; 3 $str = strtolower($str); 4 print $str; # 「mary had a little lamb and she loved it so」を出力します。 5
strtoupper() および ucfirst() も参照下さい。