PHP Programing language

hex2bin() Functions in PHP
Previous Home Next

hex2bin()

The hex2bin() function converts a string of hexadecimal values to ASCII characters.

Syntax:
hex2bin(string)

In above syntax,"string" converts the hexadecimal value

Example:

<?php
echo hex2bin("477564204d6f726e696e6720496e64696121");
?>

 

Output:

Gud Morning India!

Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: