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

hex2bin

hexadecimal string ကို binary string ကိုပြောင်းပါ
အမည်:hex2bin
အမျိုးအစား:ကြိုး
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:hexadecimal တန်ဖိုးများကို ASCII အက္ခရာများသို့ပြောင်းသည်။

နမူနာ

hexadecimal တန်ဖိုးများကို ASCII အက္ခရာများသို့ပြောင်းပါ။

 <span class="token php language-php"><span class="token delimiter important"><? PHP</span>
<span class="token keyword">echo</span> <span class="token function">hex2bin</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"48656C6F7F7F7F76F76F766C642121"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">></span></span>

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

သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • ကြိုးအစားထိုးကြောင်း substrings substr_replace

    substr_replace

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

    str_word_count

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

    substr

    stringကို၏အစိတ်အပိုင
  • string တစ်ခု၏လိုင်းအသစ်များမတိုင်မီ HTML newline tag ကိုထည့်ပါ nl2br

    nl2br

    stringတစ်ခု၏လိုင်းအသ
  • string အရှည်ရယူပါ strlen

    strlen

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

    localeconv

    ဒီဂျစ်တယ်formatအချက်
  • output ကို format ချ string ကို vprintf

    vprintf

    outputကိုformatချstr
  • string ၏အစနှင့်အဆုံးမှနေရာများ (သို့မဟုတ်အခြားအက္ခရာများ) ကိုဖယ်ရှားပါ trim

    trim

    string၏အစနှင့်အဆုံးမ