Write a PHP script to get a hex dump of a string.
Sample string : 'rayy@example.com'
<?php $str = 'rayy@example.com'; echo bin2hex($str)."\n"; ?>
Sample Output:
72617979406578616d706c652e636f6d
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer