Gen. partnerAlgotech

PHP funkce htmlspecialchars_decode()

Convert special HTML entities back to characters

|
11. září 2019

Dostupnost ve verzích: PHP 5.1.0

Convert special HTML entities back to characters

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$string string není The string to decode
$quote_style int null The quote style. One of the following constants: quote_style constants
Constant Name Description
ENT_COMPAT Will convert double-quotes and leave single-quotes alone (default)
ENT_QUOTES Will convert both double and single quotes
ENT_NOQUOTES Will leave both double and single quotes unconverted

string

the decoded string.

Další zdroje

Oficiální dokumentace funkce htmlspecialchars-decode

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.