programming-examples/php/String/PHP script to get a hex dump of a string.php

4 lines
63 B
PHP
Raw Normal View History

2019-11-15 12:59:38 +01:00
<?php
$str = 'rayy@example.com';
echo bin2hex($str)."\n";
?>