PHP Manual

PHP funkce get_html_translation_table()

11. 09. 2019

Obsah článku

Dostupnost ve verzích: `PHP 4.0`

Returns the translation table used by htmlspecialchars and htmlentities

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$table int null, There are two new constants (HTML_ENTITIES, HTML_SPECIALCHARS) that allow you to specify the table you want.
$quote_style int null Like the htmlspecialchars and htmlentities functions you can optionally specify the quote_style you are working with. See the description of these modes in htmlspecialchars.

Návratové hodnoty

array

the translation table as an array.

Další zdroje

Oficiální dokumentace funkce get-html-translation-table

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:

Související články

1.
12.

Potřebujete poradit s PHP?

Nabízím trénink vývojářů, konzultace, školení a analýzu návrhových vzorů. Osobně v Praze nebo online.

Napište mi, pokud si nevíte rady.

Lektor: Jan Barášek

V jiných jazycích

Status:
All systems normal.
2024