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

str_rot13

တစ် ဦး string ကိုအပေါ်တစ် ဦး ပုပ် 1 နှစ်ပြောင်းလဲလုပ်ဆောင်ပါ
အမည်:str_rot13
အမျိုးအစား:ကြိုး
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:string ကိုအပေါ် unr13 encoding လုပ်ဆောင်ပါ။

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

str_rot13() function သည် rot13 ကို string ပေါ်တွင် encoding encoding လုပ်ဆောင်သည်။

Rol13 ကုဒ်သည်အက်ခရာတစ်ခုစီကိုအက်ခရာ 13 လုံးဖြင့်ရှေ့သို့ရွေ့သွားသည်။ နံပါတ်များနှင့်အက်ခရာမဟုတ်သောဇာတ်ကောင်များသည်အတူတူပင်ဖြစ်နေဆဲဖြစ်သည်။

သိကောင်းစရာ - encoding and decoding နှစ်ခုစလုံးသည်တူညီသောလုပ်ဆောင်မှုဖြင့်ပြုလုပ်သည်။ သင် encoded string ကိုအငြင်းအခုံအဖြစ်ယူလျှင်မူရင်း string ကိုပြန်ပို့လိမ့်မည်။

နမူနာ

အဆိုပါ string ကို encoding နှင့် decoding:

 <? PHP
echo strot_rot13 ( "ငါရှန်ဟိုင်းကိုချစ်" ) ;
ပဲ့တင်သံ "<br> <br>" ;
echo strot_rot13 ( "v Ybir Funatunv" ) ;
>

သင်ကိုယ်တိုင်စမ်းကြည့်ပါ

သဒ္ဒါ

 str_rot13 ( string )
တေးရေး ဖေါ်ပြ
ကြိုး လိုအပ်ပါတယ် encoded ခံရဖို့ string ကိုဖေါ်ပြသည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • hexadecimal string ကို binary string ကိုပြောင်းပါ hex2bin

    hex2bin

    hexadecimalstringကို
  • အထူး HTML အဖွဲ့အစည်းများကိုပုံမှန်ဇာတ်ကောင်များသို့ပြန်သွားပါ htmlspecialchars_decode

    htmlspecialchars_decode

    အထူးHTMLအဖွဲ့အစည်းမျ
  • သတ်မှတ်ထားသောပုံစံအရဇာတ်ကောင်များ 0 င်သည် sscanf

    sscanf

    သတ်မှတ်ထားသောပုံစံအရ
  • CRC32 polynomials string ကိုတွက်ချက်ပါ crc32

    crc32

    CRC32polynomialsstri
  • တစ် ဦး 8-bit string ကိုကိုးကားနှင့်အတူပုံနှိပ်ထုတ်ဝေသီ string ကိုပြောင်းပါ quoted_printable_decode

    quoted_printable_decode

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

    stripslashes

    တစ်ခုထွက်ပြေးလွတ်မြေ
  • string ကို၏အစိတ်အပိုင်းတစ်ခုပြန်သွားပါ substr

    substr

    stringကို၏အစိတ်အပိုင
  • တစ် ဦး string ကိုအပေါ်တစ် ဦး ပုပ် 1 နှစ်ပြောင်းလဲလုပ်ဆောင်ပါ str_rot13

    str_rot13

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