PHP funkce html_entity_decode()
📅 11. 09. 2019
Obsah článku:
Dostupnost ve verzích: PHP 4.3.0
Convert all HTML entities to their applicable characters
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
$string | string | není | Zpracovávaný řetězec. | ||||||||
$quote_style | int | null, | The optional second quote_style parameter lets you define what will be done with 'single' and "double" quotes. It takes on one of three constants with the default being ENT_COMPAT:
| ||||||||
$charset | string | null | The ISO-8859-1 character set is used as default for the optional third charset. This defines the character set used in conversion. |
Návratové hodnoty
string
the decoded string.
Další zdroje
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Kontakt Spolupráce