PHP bin2hex() Function

The bin2hex() function is used to converts a string of ASCII characters to hexadecimal values.

Demo :



Type Text

Example :

Type Text : Hello World!.

Following code is used to bin2hex() demo code If you need to copy and use your web site.


<?php
$str = "Hello World";
$result =bin2hex($str);
echo $result;
?>

The bin2hex() function have in the one parameters that name is string data.

Free Download Script :

If you need bin2hex() function demo code download from following link.

Download




Content