どうも、ちょげ(@chogetarou)です。
文字列(string)を全て小文字に変換する方法を紹介します。
方法

文字列(string)を全て小文字に変換するには、strtolower()を使います。
まず、strtolower()を呼び出します。
そして、strtolower()の引数に対象の文字列を指定します。
//text=対象の文字列
$result = strtolower(text);
上記のstrtolower()は、引数の文字列(string)を全て小文字に変換した文字列を生成します。
使用例
<?php
$text = "AbcDEfG";
$result = strtolower($text);
echo $result;
?>
出力:
abcdefg
コメント