Position actuelle: Accueil> Catégories de fonctions> hex2bin

hex2bin

Convertir la chaîne hexadécimale en chaîne binaire
Nom:hex2bin
Catégorie:Chaîne
Langage de programmation:php
Description en une ligne:Convertit une chaîne de valeurs hexadécimales en caractères ASCII.

Exemple

Convertir les valeurs hexadécimales en caractères 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">"48656c6c6f20576f726c6421"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Essayez-le vous-même

Fonctions similaires