Aktueller Standort: Startseite> Funktionskategorien> get_html_translation_table

get_html_translation_table

Gibt die Conversion -Tabelle nach Verwendung von HTMLSpecialChars () und HTMLentities () zurück ()
Name:get_html_translation_table
Kategorie:Saite
Programmiersprache:php
Kurzbeschreibung:Gibt die von HTMLSpecialChars () und HTMLentities () verwendete Übersetzungstabelle zurück.

Beispiel

Beispiel 1

Ausgabe der Übersetzungstabelle, die von der Funktion htmlspecialChars verwendet wird:

 <span class="token php language-php"><span class="token delimiter important"><? Php</span>
<span class="token function">print_r</span> <span class="token punctuation">(</span> <span class="token function">get_html_translation_table</span> <span class="token punctuation">(</span> <span class="token punctuation">)</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span> <span class="token comment">// html_specialchars ist der Standard</span>
<span class="token delimiter important">?></span></span>

Probieren Sie es selbst aus

Beispiel 2

HTML_SPECIALCHARS -Übersetzungstabelle:

 <span class="token php language-php"><span class="token delimiter important"><? Php</span>
<span class="token function">print_r</span> <span class="token punctuation">(</span> <span class="token function">get_html_translation_table</span> <span class="token punctuation">(</span> <span class="token constant">html_specialchars</span> <span class="token punctuation">)</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Zeigen Sie Charakter- und Entitätsnamen:

 Array
(
  ["] =>"
  [&] => &
  [<] => <
  [>] = >>
)

Beispiel 3

HTML_ENTITY -Übersetzungstabelle:

 <span class="token php language-php"><span class="token delimiter important"><? Php</span>
<span class="token function">print_r</span> <span class="token punctuation">(</span> <span class="token function">get_html_translation_table</span> <span class="token punctuation">(</span> <span class="token constant">html_entities</span> <span class="token punctuation">)</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Zeigen Sie Charakter- und Entitätsnamen:

 Array
(
  ["] =>"
  [&] => &
  [<] => <
  [>] = >>
  [] =>
    [?] =>?
  [?] => ¢
  [?] => £
  [?] => ¤
  [?] => ¥
  [?] => |
  [?] => §
  [?] => ¨
  [?] =>?
  [?] => a
  [?] =>?
  [?] =>?
  [?] => -
  [?] =>?
  [?] => ˉ
  [?] => °
  [?] => ±
  [?] => 2
  [?] => 3
  [?] => &#39;
  [?] => μ
  [?] =>?
  [?] => ·
  [?] =>?
  [?] => 1
  [?] => o
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => à
  [?] => á
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => è
  [?] => é
  [?] => ê
  [?] =>?
  [?] => ì
  [?] => í
  [?] =>?
  [?] =>?
  [?] => D
  [?] =>?
  [?] => ò
  [?] => Ó
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => ×
  [?] =>?
  [?] => ù
  [?] => ú
  [?] =>?
  [?] => ü
  [?] => Y
  [?] => T
  [?] =>?
  [?] => à
  [?] => á
  [?] => a
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => è
  [?] => é
  [?] => ê
  [?] =>?
  [?] => ì
  [?] => í
  [?] =>?
  [?] =>?
  [?] => e
  [?] =>?
  [?] => ò
  [?] => Ó
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => ÷
  [?] =>?
  [?] => ù
  [?] => ú
  [?] =>?
  [?] => ü
  [?] => y
  [?] => t
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?

  [?] =>?
  [?] =>?
  [?] =>?
  [Α] => α
  [Β] => β
  [Γ] => γ
  [Δ] => δ
  [Ε] => ε
  [Ζ] => ζ
  [Η] => η
  [Θ] => θ
  [Ι] => ι
  [Κ] => κ
  [Λ] => λ
  [Μ] => μ
  [Ν] => ν
  [Ξ] => ξ
  [Ο] => ο
  [Π] => π
  [Ρ] => ρ
  [Σ] => σ
  [Τ] => τ
  [Υ] => υ
  [Φ] => φ
  [Χ] => χ
  [Ψ] => ψ
  [Ω] => ω
  [α] => α
  [β] => β
  [γ] => γ
  [δ] => δ
  [ε] => ε
  [ζ] => ζ
  [η] => η
  [θ] => θ
  [ι] => ι
  [κ] => κ
  [λ] => λ
  [μ] => μ
  [ν] => ν
  [ξ] => ξ
  [ο] => ο
  [π] => π
  [ρ] => ρ
  [?] =>?
  [σ] => σ
  [τ] => τ
  [υ] => υ
  [φ] => φ
  [χ] => χ
  [ψ] => ψ
  [ω] => ω
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => -
  [?] => -
  [?] => &#39;
  [?] => &#39;
  [?] =>?
  [?] => "
  [?] => ”
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>…
  [?] => ‰
  [&#39;] =>&#39;
  [″] => ″
  [?] =>?
  [?] =>?
  [ ̄] =>  ̄
  [?] =>?
  [?] => €
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [←] => ←
  [↑] => ↑
  [→] => →
  [↓] => ↓
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [∈] => ∈
  [?] =>?
  [?] =>?
  [∏] => ∏
  [∑] => ∑
  [?] =>?
  [?] =>?
  [√] => √
  [∝] => ∝
  [∞] => ∞
  [Test] => test
  [∧] => ∧
  [∨] => ∨
  [∩] => ∩
  [∪] => ∪
  [∫] => ∫
  [∴] => ∴
  [~] => ~
  [?] =>?
  [≈] => ≈
  [≠] => ≠
  [≡] => ≡
  [≤] => ≤
  [≥] => ≥
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [⊕] => ⊕
  [?] =>?
  [⊥] => ⊥
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
)
Ähnliche Funktionen