(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 uploaded: 2019-01-21, 22:48