လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> 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 ။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • output ကို format ချ string ကို printf

    printf

    outputကိုformatချstr
  • ပစ်မှတ် string ကိုအတွက်သတ်မှတ်ထားသော string ကို၏နောက်ဆုံးဖြစ်ပျက်မှုကိုတွက်ချက်ပါ strrpos

    strrpos

    ပစ်မှတ်stringကိုအတွက
  • ဒီဂျစ်တယ် format အချက်အလက်ကိုရယူပါ localeconv

    localeconv

    ဒီဂျစ်တယ်formatအချက်
  • နှစ်ခု strings အကြားတူညီတွက်ချက် similar_text

    similar_text

    နှစ်ခုstringsအကြားတူ
  • သတ်မှတ်ထားသောပုံစံအရဇာတ်ကောင်များ 0 င်သည် sscanf

    sscanf

    သတ်မှတ်ထားသောပုံစံအရ
  • အရှည်အတွက် string ကိုဖြည့်ရန်အခြား string ကိုသုံးပါ str_pad

    str_pad

    အရှည်အတွက်stringကိုဖ
  • အဆိုပါ format ချ string ကိုပြန်ပို့သည် sprintf

    sprintf

    အဆိုပါformatချstring
  • string ကိုပေးထားသောအလွှာနှင့်အတူစတင်မရှိစစ်ဆေးပါ str_starts_with

    str_starts_with

    stringကိုပေးထားသောအလ
လူကြိုက်များသော ဆောင်းပါးများ