လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> htmlspecialchars_decode

htmlspecialchars_decode

အထူး HTML အဖွဲ့အစည်းများကိုပုံမှန်ဇာတ်ကောင်များသို့ပြန်သွားပါ
အမည်:htmlspecialchars_decode
အမျိုးအစား:ကြိုး
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:အချို့သောကြိုတင်သတ်မှတ်ထားသော HTML အဖွဲ့အစည်းများကိုဇာတ်ကောင်များအဖြစ်ပြောင်းပါ။

အဓိပ္ပါယ်နှင့်အသုံးပြုမှု

htmlspecialchars_decode() function ကို transfefined HTML အဖွဲ့အစည်းများအဖြစ်စာလုံးများအဖြစ်ပြောင်းလဲ။

Decoded ဖြစ်မည့် HTML entity မှာ -

  • & (sum) သို့ decoded & decoded
  • "သို့ decoded" (နှစ်ထပ်ကိုးကား)
  • '' သို့ decoded '(တစ်ခုတည်းကိုးကား)
  • <<(ထက်နည်း) <(decoded decoded
  • >> >> DiDED ကို> (ထက်သာ။ ကြီးမြတ်)

htmlspecialchars_decode() function () function သည် htmlspecialchars() function ကို၏ပြောင်းပြန်လုပ်ဆောင်ချက်ဖြစ်သည်။

သဒ္ဒါ

 htmlspecialchars_decode ( string , flags )
တေးရေး ဖေါ်ပြ
ကြိုး လိုအပ်ပါတယ် decoded ခံရဖို့ string ကိုဖေါ်ပြသည်။
အလံများ

optional ကို။ ကိုးကားချက်များနှင့်မည်သို့ကိုင်တွယ်ရမည်ကိုအသေးစိတ်ဖော်ပြထားသည်။

ရရှိနိုင် Quote အမျိုးအစားများ:

  • ent_compat - ပုံမှန်။ နှစ်ဆကိုးကားသာ decode ။
  • ent_quotes - နှစ်ဆနှင့်တစ်ခုတည်းကိုးကားချက်များကို decode ။
  • Ent_Noquotes - အဘယ်သူမျှမကိုးကားအမှတ်အသားများကုဒ်များနေကြသည်။

အသုံးပြုသောစာရွက်စာတမ်းအမျိုးအစားအတွက်အလံများ -

  • ent_html401 - ပုံမှန်။ Process Code ကို HTML 4.01 အဖြစ်။
  • ent_html5 - HTML 5 အဖြစ် Process code ကို။
  • Ent_XML1 - XML ​​1 အဖြစ်လုပ်ငန်းစဉ်ကုဒ်။
  • ent_xhtml - XHTML အဖြစ် process code ။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • hexadecimal string ကို binary string ကိုပြောင်းပါ hex2bin

    hex2bin

    hexadecimalstringကို
  • strings အတွက် string အတွက်အက္ခရာများအားလုံးတည်ရှိရာအက်ခရာအားလုံးတည်ရှိရာပထမ ဦး ဆုံးအလွှာ၏အရှည်ကိုတွက်ချက် strspn

    strspn

    stringsအတွက်stringအတ
  • စာလုံးများကိုဘာသာပြန်ပါသို့မဟုတ်အစားထိုး substrings ကိုအစားထိုးပါ - သတ်မှတ်ထားသောစာလုံးများကိုပြောင်းပါ strtr

    strtr

    စာလုံးများကိုဘာသာပြန
  • အဆိုပါ format ချ string ကိုပြန်ပို့သည် vsprintf

    vsprintf

    အဆိုပါformatချstring
  • Binary Safe နှိုင်းယှဉ်မှု string ကို (သတ်မှတ်ထားသောအရှည်ကို offset အနေအထားနှင့်နှိုင်းယှဉ်ပါ) substr_compare

    substr_compare

    BinarySafeနှိုင်းယှဉ
  • string ၏အဆုံးမှာ whitespace ဇာတ်ကောင် (သို့မဟုတ်အခြားဇာတ်ကောင်) ကိုဖျက်ပါ rtrim

    rtrim

    string၏အဆုံးမှာwhite
  • CRC32 polynomials string ကိုတွက်ချက်ပါ crc32

    crc32

    CRC32polynomialsstri
  • နံပါတ်များမှ single-byte ကြိုးများကိုထုတ်လုပ်ပါ chr

    chr

    နံပါတ်များမှsingle-b
လူကြိုက်များသော ဆောင်းပါးများ