Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for bin2hex_php.bat

(view source code of bin2hex_php.bat as plain text)

  1. :: https://www.robvanderwoude.com/batchphp.php
  2. :: Usage:  "bin2hex 11001101" returns "0xCD"
  3. @PHP -r print('0x'.strtoupper(dechex(bindec(%~1))));
  4.  

page last modified: 2024-04-16; loaded in 0.0067 seconds