Press "Enter" to skip to content

bin2hex

PHP bin2hex Function

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

Example for PHP bin2hex Function

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