Press "Enter" to skip to content

bin2hex

PHP bin2hex Function

PHP bin2hex Function – The bin2hex() function converts a binary data into hexadecimal values.

Example for PHP bin2hex Function

$str = bin2hex(“w3htmlschool.com”);
echo($str);
?>