함수 strtr()

Jmnote (토론 | 기여)님의 2018년 10월 14일 (일) 16:31 판 (→‎PHP)


1 PHP

$trans = array("h" => "-", "hello" => "hi", "hi" => "hello");
echo strtr("hi all, I said hello", $trans);
// hello all, I said hi

2 같이 보기

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