Source Code:
(back to article)
<?php $binary_string = "Hello, World!"; $hex_string = bin2hex($binary_string); echo $hex_string; ?>
Result:
Report an issue