Bin2Hex (PHP 4, PHP 5, PHP 7, PHP 8)

<?php

$hex = bin2hex('Hello world!');

var_dump($hex);
var_dump(hex2bin($hex));
?>
SAMER SAEID