Source Code:
(back to article)
<?php // Convert data to a binary string $data = pack('N', 123); // Output binary string echo bin2hex($data); ?>
Result:
Report an issue