in reply to Re: BIN to HEX
in thread BIN to HEX

if ($byte > 0x30) {
Shouldn't that be ord($byte) > 0x30?