(view source code of bin2hex_php.bat as plain text)
:: https://www.robvanderwoude.com/batchphp.php
:: Usage: "bin2hex 11001101" returns "0xCD"
@PHP -r print('0x'.strtoupper(dechex(bindec(%~1))));
page last modified: 2024-04-16; loaded in 0.0067 seconds