update : 2015.11.03
php.shukuma.com검색:
|
htmlspecialchars_decode(PHP 5 >= 5.1.0) htmlspecialchars_decode — Convert special HTML entities back to characters 설명
string htmlspecialchars_decode
( string
$string
[, int $flags = ENT_COMPAT | ENT_HTML401
] )This function is the opposite of htmlspecialchars(). It converts special HTML entities back to characters.
The converted entities are: &,
" (when 인수
반환값Returns the decoded string. 변경점
예제
Example #1 A htmlspecialchars_decode() example
<?php 위 예제의 출력: <p>this -> "</p> <p>this -> "</p> 참고
|