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

    substr_replace

    ကြိုးအစားထိုးကြောင်း
  • ဒေသဆိုင်ရာသတင်းအချက်အလက် setting setlocale

    setlocale

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

    str_starts_with

    stringကိုပေးထားသောအလ
  • တစ်ခုထွက်ပြေးလွတ်မြောက် string ကိုထုတ်ဖော်ပြသခဲ့သည် stripslashes

    stripslashes

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

    substr_compare

    BinarySafeနှိုင်းယှဉ
  • string တွင်အသုံးပြုသောစကားလုံးများနှင့်ပတ်သက်သောသတင်းအချက်အလက်များကိုပြန်ပို့ပါ str_word_count

    str_word_count

    stringတွင်အသုံးပြုသေ
  • binary လုံခြုံတဲ့ string ကိုနှိုင်းယှဉ် strcmp

    strcmp

    binaryလုံခြုံတဲ့stri
  • တစ်ထောင် sinkator အတွက်နံပါတ် format number_format

    number_format

    တစ်ထောင်sinkatorအတွက
လူကြိုက်များသော ဆောင်းပါးများ