Anglais [b?n] Américain [b?n]
n. Bo?te, conteneur; poubelle (sous-sol) stockage de vin
vt. Singulier : binned Pluriel : binned Participe présent : binning Passé : binned Participe passé : binned
Fonction php hex2bin() syntaxe
Fonction?: Convertir une cha?ne hexadécimale en cha?ne binaire
Syntaxe?: hex2bin (string)
Paramètres?:
Paramètre | string | Must, Spécifiez la cha?ne qui a besoin à convertir
| | Description :
Renvoie la représentation binaire des données données ou renvoie FALSE en cas d'échec. Fonction php hex2bin() exemple
<?php
$data = "68656c6c6f207068702e636e";
$res = hex2bin($data);
echo $res;
?>
Exécuter l'instance?Cliquez sur le bouton ??Exécuter l'instance?? pour afficher l'instance en ligne
Sortie?:
hello php.cn
<?php
$str1 = "4c6561726e696e6720504850";
echo hex2bin($str1);
?>
Exécuter l'instance? Cliquez sur le bouton ??Exécuter l'instance?? pour voir l'instance en ligne
Sortie?:
Learning PHP