Convert hexadecimal values to ASCII characters in PHP
Description
The following code shows how to convert hexadecimal values to ASCII characters.
Example
<?php
echo hex2bin("48656c");
?>
The code above generates the following result.
The following code shows how to convert hexadecimal values to ASCII characters.
<?php
echo hex2bin("48656c");
?>
The code above generates the following result.