get_html_translation_table
htmlspecialchars()およびhtmlentities()を使用した後、変換テーブルを返します
htmlspecialchars関数で使用される翻訳テーブルを出力します。
<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はデフォルトです</span> <span class="token delimiter important">?></span></span>
html_specialchars翻訳テーブル:
<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>
キャラクターとエンティティの名前を表示します。
配列 ( ["] =>" [&] =>& [<] => < [>] =>> ))
html_entities翻訳表:
<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>
キャラクターとエンティティの名前を表示します。
配列
(
["] =>"
[&] =>&
[<] => <
[>] =>>
[] =>
[?] =>?
[?] => ¢
[?] => £
[?] =>¤
[?] => ¥
[?] => |
[?] =>§
[?] =>¨
[?] =>?
[?] => a
[?] =>?
[?] =>?
[?] => -
[?] =>?
[?] =>ˉ
[?] =>°
[?] =>±
[?] => 2
[?] => 3
[?] => '
[?] =>μ
[?] =>?
[?] =>・
[?] =>?
[?] => 1
[?] => o
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>à
[?] =>á
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>è
[?] =>é
[?] =>ê
[?] =>?
[?] =>ì
[?] =>í
[?] =>?
[?] =>?
[?] => d
[?] =>?
[?] =>ò
[?] =>ó
[?] =>?
[?] =>?
[?] =>?
[?] =>×
[?] =>?
[?] =>ù
[?] =>ú
[?] =>?
[?] =>ü
[?] => y
[?] => t
[?] =>?
[?] =>à
[?] =>á
[?] => a
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>è
[?] =>é
[?] =>ê
[?] =>?
[?] =>ì
[?] =>í
[?] =>?
[?] =>?
[?] => e
[?] =>?
[?] =>ò
[?] =>ó
[?] =>?
[?] =>?
[?] =>?
[?] =>÷
[?] =>?
[?] =>ù
[?] =>ú
[?] =>?
[?] =>ü
[?] => y
[?] => t
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[α] =>α
[β] =>β
[γ] =>γ
[δ] =>δ
[ε] =>ε
[ζ] =>ζ
[η] =>η
[θ] =>θ
[ι] =>ι
[κ] =>κ
[λ] =>λ
[μ] =>μ
[ν] =>ν
[ξ] =>ξ
[ο] =>ο
[π] =>π
[ρ] =>ρ
[σ] =>σ
[τ] =>τ
[υ] =>υ
[φ] =>φ
[χ] =>χ
[ψ] =>ψ
[ω] =>ω
[α] =>α
[β] =>β
[γ] =>γ
[δ] =>δ
[ε] =>ε
[ζ] =>ζ
[η] =>η
[θ] =>θ
[ι] =>ι
[κ] =>κ
[λ] =>λ
[μ] =>μ
[ν] =>ν
[ξ] =>ξ
[ο] =>ο
[π] =>π
[ρ] =>ρ
[?] =>?
[σ] =>σ
[τ] =>τ
[υ] =>υ
[φ] =>φ
[χ] =>χ
[ψ] =>ψ
[ω] =>ω
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] => -
[?] => -
[?] => '
[?] => '
[?] =>?
[?] =>“
[?] =>」
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>…
[?] =>‰
[′] =>'
[″] => ''
[?] =>?
[?] =>?
[ ̄] =>  ̄
[?] =>?
[?] =>€
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[←] =>←
[↑] =>↑
[→] =>→
[↓] =>↓
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[∈] =>∈
[?] =>?
[?] =>?
[∏] => ∏
[∑] => ∑
[?] =>?
[?] =>?
[√] =>√
[∝] => ∝
[∞] =>∞
[¶] =>¶
[∧] =>∧
[∨] =>∨
[∩] =>∩
[∪] =>∪
[∫] =>∫
[∴] =>∴
[〜] =>〜
[?] =>?
[≈] =>≈
[≠] =>≠
[≡] =>¹
[≤] =>≤
[≥] =>≥
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[⊕] =>⊕
[?] =>?
[⊥] =>⊥
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
[?] =>?
))