91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

怎么在PHP中使用 get_html_translation_table()函數

發布時間:2021-01-04 14:46:23 來源:億速云 閱讀:139 作者:Leah 欄目:開發技術

怎么在PHP中使用 get_html_translation_table()函數?針對這個問題,這篇文章詳細介紹了相對應的分析和解答,希望可以幫助更多想解決這個問題的小伙伴找到更簡單易行的方法。

PHP get_html_translation_table() 函數

實例

輸出 htmlspecialchars 函數使用的翻譯表:

<?php 
print_r (get_html_translation_table()); // HTML_SPECIALCHARS is default. 
?>

定義和用法

get_html_translation_table()函數返回htmlentities()htmlspecialchars()函數使用的翻譯表。

提示:一些字符可以按照若干種方式進行編碼。get_html_translation_table() 函數返回最普通的編碼。

語法

get_html_translation_table( _function,flags,character-set_ )

怎么在PHP中使用 get_html_translation_table()函數

怎么在PHP中使用 get_html_translation_table()函數

實例

HTML_SPECIALCHARS 的翻譯表:

<?php 
print_r (get_html_translation_table(HTML_SPECIALCHARS)); 
?>
Displaying character and entity name:
Array 
( 
["] => &quot; 
[&] => &amp; 
[<] => &lt; 
[>] => &gt; 
)

實例 2

HTML_ENTITIES 的翻譯表:

<?php 
print_r (get_html_translation_table(HTML_ENTITIES)); 
?>

顯示字符及其對應的實體名稱:

Array 

["] => &quot; 
[&] => &amp; 
[<] => &lt; 
[>] => &gt; 
[ ] => &nbsp; 
[&iexcl;] => &iexcl; 
[&cent;] => &cent; 
[&pound;] => &pound; 
[¤] => &curren; 
[&yen;] => &yen; 
[&brvbar;] => &brvbar; 
[§] => &sect; 
[¨] => &uml; 
[&copy;] => &copy; 
[&ordf;] => &ordf; 
[&laquo;] => &laquo; 
[&not;] => &not; 
[&shy;] => &shy; 
[&reg;] => &reg; 
[&macr;] => &macr; 
[°] => &deg; 
[±] => &plusmn; 
[&sup2;] => &sup2; 
[&sup3;] => &sup3; 
[&acute;] => &acute; 
[&micro;] => &micro; 
[&para;] => &para; 
[·] => &middot; 
[&cedil;] => &cedil; 
[&sup1;] => &sup1; 
[&ordm;] => &ordm; 
[&raquo;] => &raquo; 
[&frac14;] => &frac14; 
[&frac12;] => &frac12; 
[&frac34;] => &frac34; 
[&iquest;] => &iquest; 
[&Agrave;] => &Agrave; 
[&Aacute;] => &Aacute; 
[&Acirc;] => &Acirc; 
[&Atilde;] => &Atilde; 
[&Auml;] => &Auml; 
[&Aring;] => &Aring; 
[&AElig;] => &AElig; 
[&Ccedil;] => &Ccedil; 
[&Egrave;] => &Egrave; 
[&Eacute;] => &Eacute; 
[&Ecirc;] => &Ecirc; 
[&Euml;] => &Euml; 
[&Igrave;] => &Igrave; 
[&Iacute;] => &Iacute; 
[&Icirc;] => &Icirc; 
[&Iuml;] => &Iuml; 
[&ETH;] => &ETH; 
[&Ntilde;] => &Ntilde; 
[&Ograve;] => &Ograve; 
[&Oacute;] => &Oacute; 
[&Ocirc;] => &Ocirc; 
[&Otilde;] => &Otilde; 
[&Ouml;] => &Ouml; 
[×] => &times; 
[&Oslash;] => &Oslash; 
[&Ugrave;] => &Ugrave; 
[&Uacute;] => &Uacute; 
[&Ucirc;] => &Ucirc; 
[&Uuml;] => &Uuml; 
[&Yacute;] => &Yacute; 
[&THORN;] => &THORN; 
[&szlig;] => &szlig; 
[à] => &agrave; 
[á] => &aacute; 
[&acirc;] => &acirc; 
[&atilde;] => &atilde; 
[&auml;] => &auml; 
[&aring;] => &aring; 
[&aelig;] => &aelig; 
[&ccedil;] => &ccedil; 
[è] => &egrave; 
[é] => &eacute; 
[ê] => &ecirc; 
[&euml;] => &euml; 
[ì] => &igrave; 
[í] => &iacute; 
[&icirc;] => &icirc; 
[&iuml;] => &iuml; 
[&eth;] => &eth; 
[&ntilde;] => &ntilde; 
[ò] => &ograve; 
[ó] => &oacute; 
[&ocirc;] => &ocirc; 
[&otilde;] => &otilde; 
[&ouml;] => &ouml; 
[÷] => &divide; 
[&oslash;] => &oslash; 
[ù] => &ugrave; 
[ú] => &uacute; 
[&ucirc;] => &ucirc; 
[ü] => &uuml; 
[&yacute;] => &yacute; 
[&thorn;] => &thorn; 
[&yuml;] => &yuml; 
[?] => &OElig; 
[?] => &oelig; 
[?] => &Scaron; 
[?] => &scaron; 
[?] => &Yuml; 
[?] => &fnof; 
[?] => &circ; 
[?] => &tilde; 
[Α] => &Alpha; 
[Β] => &Beta; 
[Γ] => &Gamma; 
[Δ] => &Delta; 
[Ε] => &Epsilon; 
[Ζ] => &Zeta; 
[Η] => &Eta; 
[Θ] => &Theta; 
[Ι] => &Iota; 
[Κ] => &Kappa; 
[Λ] => &Lambda; 
[Μ] => &Mu; 
[Ν] => &Nu; 
[Ξ] => &Xi; 
[Ο] => &Omicron; 
[Π] => &Pi; 
[Ρ] => &Rho; 
[Σ] => &Sigma; 
[Τ] => &Tau; 
[Υ] => &Upsilon; 
[Φ] => &Phi; 
[Χ] => &Chi; 
[Ψ] => &Psi; 
[Ω] => &Omega; 
[α] => &alpha; 
[β] => &beta; 
[γ] => &gamma; 
[δ] => &delta; 
[ε] => &epsilon; 
[ζ] => &zeta; 
[η] => &eta; 
[θ] => &theta; 
[ι] => &iota; 
[κ] => &kappa; 
[λ] => &lambda; 
[μ] => &mu; 
[ν] => &nu; 
[ξ] => &xi; 
[ο] => &omicron; 
[π] => &pi; 
[ρ] => &rho; 
[?] => &sigmaf; 
[σ] => &sigma; 
[τ] => &tau; 
[υ] => &upsilon; 
[φ] => &phi; 
[χ] => &chi; 
[ψ] => &psi; 
[ω] => &omega; 
[?] => &thetasym; 
[?] => &upsih; 
[?] => &piv; 
[ ] => &ensp; 
[ ] => &emsp; 
[ ] => &thinsp; 
[?] => &zwnj; 
[?] => &zwj; 
[?] => &lrm; 
[?] => &rlm; 
[–] => &ndash; 
[—] => &mdash; 
['] => &lsquo; 
['] => &rsquo; 
[?] => &sbquo; 
["] => &ldquo; 
["] => &rdquo; 
[?] => &bdquo; 
[?] => &dagger; 
[?] => &Dagger; 
[?] => &bull; 
[…] => &hellip; 
[‰] => &permil; 
[′] => &prime; 
[″] => &Prime; 
[?] => &lsaquo; 
[?] => &rsaquo; 
[ ̄] => &oline; 
[?] => &frasl; 
[?] => &euro; 
[?] => &image; 
[?] => &weierp; 
[?] => &real; 
[?] => &trade; 
[?] => &alefsym; 
[←] => &larr; 
[↑] => &uarr; 
[→] => &rarr; 
[↓] => &darr; 
[?] => &harr; 
[?] => &crarr; 
[?] => &lArr; 
[?] => &uArr; 
[?] => &rArr; 
[?] => &dArr; 
[?] => &hArr; 
[?] => &forall; 
[?] => &part; 
[?] => &exist; 
[?] => &empty; 
[?] => &nabla; 
[∈] => &isin; 
[?] => &notin; 
[?] => &ni; 
[∏] => &prod; 
[∑] => &sum; 
[?] => &minus; 
[?] => &lowast; 
[√] => &radic; 
[∝] => &prop; 
[∞] => &infin; 
[∠] => &ang; 
[∧] => &and; 
[∨] => &or; 
[∩] => &cap; 
[∪] => &cup; 
[∫] => &int; 
[∴] => &there4; 
[~] => &sim; 
[?] => &cong; 
[≈] => &asymp; 
[≠] => &ne; 
[≡] => &equiv; 
[≤] => &le; 
[≥] => &ge; 
[?] => &sub; 
[?] => &sup; 
[?] => &nsub; 
[?] => &sube; 
[?] => &supe; 
[⊕] => &oplus; 
[?] => &otimes; 
[⊥] => &perp; 
[?] => &sdot; 
[?] => &lceil; 
[?] => &rceil; 
[?] => &lfloor; 
[?] => &rfloor; 
[?] => &lang; 
[?] => &rang; 
[?] => &loz; 
[?] => &spades; 
[?] => &clubs; 
[?] => &hearts; 
[?] => &diams; 
)

關于怎么在PHP中使用 get_html_translation_table()函數問題的解答就分享到這里了,希望以上內容可以對大家有一定的幫助,如果你還有很多疑惑沒有解開,可以關注億速云行業資訊頻道了解更多相關知識。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

洛南县| 隆林| 肥城市| 五常市| 安阳县| 谢通门县| 棋牌| 普兰店市| 平度市| 洪泽县| 连山| 洱源县| 高唐县| 漠河县| 林甸县| 岚皋县| 郴州市| 唐海县| 宜宾县| 怀安县| 和平县| 铜川市| 天镇县| 尉氏县| 贡嘎县| 天全县| 游戏| 图们市| 湟中县| 桦南县| 朝阳市| 益阳市| 池州市| 响水县| 务川| 托里县| 北海市| 黄冈市| 江山市| 盘锦市| 图们市|