htmlspecialchars_decode - 특수 HTML 엔터티를 다시 문자 로 변환합니다.
htmlspecialchars_decode - 특수 HTML 엔터티를 다시 문자 로 변환합니다.
설명 ¶
string htmlspecialchars_decode ( string $string [, int $flags= ENT_COMPAT | ENT_HTML401 ])
이 함수는 htmlspecialchars () 의 반대입니다 . 특별한 HTML 엔터티를 다시 문자로 변환합니다.
변환 된 엔티티는 & amp; , " ( ENT_NOQUOTES설정되지 않은 경우), & # 039; (언제 ENT_QUOTES설정 되는지 ), & lt; 및 한다 .
Example # 1 htmlspecialchars_decode () 예제
<?php
$str = "<p>this -> "</p>\n";
echo htmlspecialchars_decode($str);
// note that here the quotes aren't converted
echo htmlspecialchars_decode($str, ENT_NOQUOTES);
?>
위의 예제는 다음과 같이 출력됩니다 :
<p> this -> "</ p>
<p> this -> & quot; </ p>
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4556 | jQuery |
프로그래머7
|
8년 전 | 1691 | |
| 4555 | jQuery |
프로그래머7
|
8년 전 | 1610 | |
| 4554 | jQuery |
프로그래머7
|
8년 전 | 1665 | |
| 4553 | jQuery |
프로그래머7
|
8년 전 | 2041 | |
| 4552 | PHP | 8년 전 | 1880 | ||
| 4551 | PHP | 8년 전 | 1468 | ||
| 4550 | PHP | 8년 전 | 1708 | ||
| 4549 | jQuery |
프로그래머7
|
8년 전 | 2745 | |
| 4548 | jQuery |
프로그래머7
|
8년 전 | 1443 | |
| 4547 | jQuery |
프로그래머7
|
8년 전 | 1368 | |
| 4546 | jQuery |
프로그래머7
|
8년 전 | 1684 | |
| 4545 | jQuery |
프로그래머7
|
8년 전 | 1712 | |
| 4544 | jQuery |
프로그래머7
|
8년 전 | 1866 | |
| 4543 | jQuery |
프로그래머7
|
8년 전 | 1653 | |
| 4542 | jQuery |
프로그래머7
|
8년 전 | 1585 | |
| 4541 | jQuery |
프로그래머7
|
8년 전 | 1634 | |
| 4540 | jQuery |
프로그래머7
|
8년 전 | 1667 | |
| 4539 | jQuery |
프로그래머7
|
8년 전 | 1864 | |
| 4538 | jQuery |
프로그래머7
|
8년 전 | 1536 | |
| 4537 | jQuery |
프로그래머7
|
8년 전 | 1698 | |
| 4536 | jQuery |
프로그래머7
|
8년 전 | 1936 | |
| 4535 | jQuery |
프로그래머7
|
8년 전 | 1521 | |
| 4534 | jQuery |
프로그래머7
|
8년 전 | 1856 | |
| 4533 | jQuery |
프로그래머7
|
8년 전 | 2346 | |
| 4532 | jQuery |
프로그래머7
|
8년 전 | 1918 | |
| 4531 | PHP |
|
8년 전 | 3714 | |
| 4530 | jQuery |
프로그래머7
|
8년 전 | 1801 | |
| 4529 | jQuery |
프로그래머7
|
8년 전 | 1903 | |
| 4528 | jQuery |
프로그래머7
|
8년 전 | 1701 | |
| 4527 | jQuery |
|
8년 전 | 2700 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기