巅云智能建站平台搭建版(创业流派版)火爆上线,毕生受权!新增:文章智能收罗+全站真静态打包+城市分站+智能小法式+不法词过滤+H5自顺应+智能链词等功效功效概况
建站资讯News

PHP get_html_translation_table()函数用法讲授

0
一佰互联网站扶植(www.taishanly.com) 宣布时候:2020-04-25 14:40:12 阅读数: 109

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_ )

实例

HTML_SPECIALCHARS 的翻译表:

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

实例 2

HTML_ENTITIES 的翻译表:

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

显现字符及其对应的实体称号:

Array  (  ["] => "  [&] => &  [<] => <  [>] => >  [ ] =>    [¡] => ¡  [¢] => ¢  [£] => £  [¤] => ¤  [¥] => ¥  [¦] => ¦  [§] => §  [¨] => ¨  [©] => ©  [ª] => ª  [«] => «  [¬] => ¬  [­] => ­  [®] => ®  [¯] => ¯  [°] => °  [±] => ±  [²] => ²  [³] => ³  [´] => ´  [µ] => µ  [¶] => ¶  [·] => ·  [¸] => ¸  [¹] => ¹  [º] => º  [»] => »  [¼] => ¼  [½] => ½  [¾] => ¾  [¿] => ¿  [À] => À  [Á] => Á  [Â] =>   [Ã] => à [Ä] => Ä  [Å] => Å  [Æ] => Æ  [Ç] => Ç  [È] => È  [É] => É  [Ê] => Ê  [Ë] => Ë  [Ì] => Ì  [Í] => Í  [Î] => Π [Ï] => Ï  [Ð] => Р [Ñ] => Ñ  [Ò] => Ò  [Ó] => Ó  [Ô] => Ô  [Õ] => Õ  [Ö] => Ö  [×] => ×  [Ø] => Ø  [Ù] => Ù  [Ú] => Ú  [Û] => Û  [Ü] => Ü  [Ý] => Ý  [Þ] => Þ  [ß] => ß  [à] => à  [á] => á  [â] => â  [ã] => ã  [ä] => ä  [å] => å  [æ] => æ  [ç] => ç  [è] => è  [é] => é  [ê] => ê  [ë] => ë  [ì] => ì  [í] => í  [î] => î  [ï] => ï  [ð] => ð  [ñ] => ñ  [ò] => ò  [ó] => ó  [ô] => ô  [õ] => õ  [ö] => ö  [÷] => ÷  [ø] => ø  [ù] => ù  [ú] => ú  [û] => û  [ü] => ü  [ý] => ý  [þ] => þ  [ÿ] => ÿ  [Œ] => Œ  [œ] => œ  [Š] => Š  [š] => š  [Ÿ] => Ÿ  [ƒ] => ƒ  [ˆ] => ˆ  [˜] => ˜  [Α] => Α  [Β] => Β  [Γ] => Γ  [Δ] => Δ  [Ε] => Ε  [Ζ] => Ζ  [Η] => Η  [Θ] => Θ  [Ι] => Ι  [Κ] => Κ  [Λ] => Λ  [Μ] => Μ  [Ν] => Ν  [Ξ] => Ξ  [Ο] => Ο  [Π] => Π  [Ρ] => Ρ  [Σ] => Σ  [Τ] => Τ  [Υ] => Υ  [Φ] => Φ  [Χ] => Χ  [Ψ] => Ψ  [Ω] => Ω  [α] => α  [β] => β  [γ] => γ  [δ] => δ  [ε] => ε  [ζ] => ζ  [η] => η  [θ] => θ  [ι] => ι  [κ] => κ  [λ] => λ  [μ] => μ  [ν] => ν  [ξ] => ξ  [ο] => ο  [π] => π  [ρ] => ρ  [ς] => ς  [σ] => σ  [τ] => τ  [υ] => υ  [φ] => φ  [χ] => χ  [ψ] => ψ  [ω] => ω  [ϑ] => ϑ  [ϒ] => ϒ  [ϖ] => ϖ  [ ] =>    [ ] =>    [ ] =>    [‌] => ‌  [‍] => ‍  [‎] => ‎  [‏] => ‏  [–] => –  [—] => —  ["] => ‘  ["] => ’  [‚] => ‚  ["] => “  ["] => ”  [„] => „  [†] => †  [‡] => ‡  [•] => •  […] => …  [‰] => ‰  [′] => ′  [″] => ″  [‹] => ‹  [›] => ›  [‾] => ‾  [⁄] => ⁄  [€] => €  [ℑ] => ℑ  [℘] => ℘  [ℜ] => ℜ  [™] => ™  [ℵ] => ℵ  [←] => ←  [↑] => ↑  [→] => →  [↓] => ↓  [↔] => ↔  [↵] => ↵  [⇐] => ⇐  [⇑] => ⇑  [⇒] => ⇒  [⇓] => ⇓  [⇔] => ⇔  [∀] => ∀  [∂] => ∂  [∃] => ∃  [∅] => ∅  [∇] => ∇  [∈] => ∈  [∉] => ∉  [∋] => ∋  [∏] => ∏  [∑] => ∑  [−] => −  [∗] => ∗  [√] => √  [∝] => ∝  [∞] => ∞  [∠] => ∠  [∧] => ∧  [∨] => ∨  [∩] => ∩  [∪] => ∪  [∫] => ∫  [∴] => ∴  [∼] => ∼  [≅] => ≅  [≈] => ≈  [≠] => ≠  [≡] => ≡  [≤] => ≤  [≥] => ≥  [⊂] => ⊂  [⊃] => ⊃  [⊄] => ⊄  [⊆] => ⊆  [⊇] => ⊇  [⊕] => ⊕  [⊗] => ⊗  [⊥] => ⊥  [⋅] => ⋅  [⌈] => ⌈  [⌉] => ⌉  [⌊] => ⌊  [⌋] => ⌋  [〈] => ⟨  [〉] => ⟩  [◊] => ◊  [♠] => ♠  [♣] => ♣  [♥] => ♥  [♦] => ♦  )

总结

以上便是这篇文章的全数内容了,但愿本文的内容对大师的进修或任务具备必然的参考进修代价,感谢大师对网页设想的撑持。若是你想领会更多相干内容请检查上面相干链接

一佰互联是天下着名建站品牌办事商,咱们有九年、网站建造、网页设想、php开辟和域名注册及假造主机办事经历,供给的办事更是天下着名。最近几年来还整合团队上风自立开辟了可视化多用户”“3.0平台版,拖拽排版网站建造设想,轻松完成pc站、手机微网站、小法式、APP一体化全网营销网站扶植 ,已胜利的为天下上百家收集公司供给自助建站平台搭建办事。更多资讯:tags标签

上一篇:PHP-FPM 的办理和设置装备摆设详解
下一篇: PHP5.5基于mysqli毗连MySQL数据库和读取数据操纵实例详解
[前往消息列表]

相干消息more

11
05月
专业网页设想软件公司

专业网页设想软件公司,咱们公司供给的网站设想计划经由过程率都是较高的,专业网站顺应着差别的社会须要,让咱们的糊口加倍夸姣,专业网站设想理念超前... >>概况

03
05月
如何做好网站排名须要把握的百度婚配算法

信任良多站长伴侣都跟我一样,偶然候会逛一下搜索引擎优化博客,搜索引擎优化服装服装服装服装服装服装服装论坛t.vhao.nett.vhao.nett.vhao.nett.vhao.nett.vhao.nett.vhao.nett.vhao.net或搜索引擎优化相干的网站(咱们上面都统称为网站),也许仔细的伴侣城市看到大局部的... >>概况

14
03月
从虫虫营销助手团购网看SEO优化的细节

虫虫营销助手www.chong搜索引擎优化.com上线已一个多月了,做为一个虫虫软件团购网来说,对SEO优化也是很是主要的,固然今朝排名不高,... >>概况

27
04月
在WordPress中利用wp_count_

做一个全站统计是否是很酷?久长的博客愈来愈少,何不给本身的一个统计,看看本身在这个博客上尽力了几多,岂但给本身也给旅客,wp_count_p... >>概况

高端网站扶植

美工统筹SEO,为企业电子商务营销助力!

德律风:

023-85725751
建站

产物

域名注册 假造主机 云办事器 企业邮局
智能建站 APP打包 微站/小法式 创业平台
网站推行 媒体营销 智能收罗 AI机械人
400德律风 短信营销 店销机械人
私家定制 流派网站