PHP ucfirst()

1 개요[ | ]

PHP ucfirst()
  • 첫문자를 대문자로 만드는 PHP 함수
echo ucfirst( 'hello world!' );
// Hello world!
echo ucfirst( 'HELLO WORLD!' );
// HELLO WORLD!
echo ucfirst(strtolower( 'HELLO WORLD!' ));
// Hello world!

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}