mb_strtolower 소문자변환 정보
PHP mb_strtolower 소문자변환본문
php mb_strtolower 소문자변환
mb_strtolower — 문자열 소문자 만들기
[설명]
string mb_strtolower ( string $str [, string $encoding = mb_internal_encoding() ] )
모든 문자를 소문자로 변환 후 리턴함
[인수]
str
소문자로 변환한 문자열
encoding
encoding 인수는 문자 인코딩입니다. 생략하면, 내부 문자 인코딩값을 사용합니다.
[반환값]
소문자로 변환된 문자열
[예제]
Example #1 mb_strtolower() example
<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = mb_strtolower($str);
echo $str; // Prints mary had a little lamb and she loved it so
?>
추천
1
1
댓글 0개