Bin2hex (Php 4, Php 5, Php 7, Php 8)

<?php

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

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