php small letter string code example Example: php code to convert to small letter $str = strtolower($str);