PHP funkce get_html_translation_table()

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.

array

the translation table as an array.

Další zdroje

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

AI konzultace & implementace

Pomohu vám zavést AI do vašeho projektu– od analýzy a návrhu řešení až po nasazení do produkce. Ušetřete čas, zjednodušte procesy a získejte konkurenční výhodu.

Domluvit konzultaci
Konzultant: Jan Barášek
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

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.

PHP funkce get_html_translation_table()