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. :: http://www.robvanderwoude.com/batchphp.php
  2. :: Usage:  "bin2hex 11001101" returns "0xCD"
  3. @PHP -r print('0x'.strtoupper(dechex(bindec(%~1))));
  4.  

page last uploaded: 2017-04-06, 13:33