Answers for "Php hex to string"

PHP
1

hex to bin php

$hexadecimal = 'afc758';

$binary = base_convert($hexadecimal, 16, 2);

echo $hexadecimal . ' -> binary value is: ' . $binary;
Posted by: Guest on December-17-2020
0

php convert char to hex

<?php 
$str = bin2hex("Hello World");
echo($str); 
?>
 
Posted by: Guest on April-30-2020

Browse Popular Code Answers by Language