php convert char to hex
snippet in php

php convert char to hex

user8733

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