PHP has hanja()

Jmnote (토론 | 기여)님의 2019년 7월 19일 (금) 19:46 판 (새 문서: ==개요== ;PHP has_hanja() <source lang='php'> function has_hanja($str) { if( preg_match("/\p{Han}+/u", $str) ) return true; return false; } </source> ==같이 보기== * 함...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

PHP has_hanja()
function has_hanja($str) {
  if( preg_match("/\p{Han}+/u", $str) ) return true;
  return false;
}

2 같이 보기

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