programming-examples/php/String/PHP script to get a hex dump of a string.php
2019-11-15 12:59:38 +01:00

4 lines
63 B
PHP

<?php
$str = 'rayy@example.com';
echo bin2hex($str)."\n";
?>