Posted by ZeldorBlat on 06/16/07 02:49
On Jun 15, 10:05 pm, "Jon Slaughter" <Jon_Slaugh...@Hotmail.com>
wrote:
> Is there any php functions to encode a decimal number(integer in this case)
> into a binary string? Not convert it to a string but encode it. So 255 =
> chr(255) and 256 = chr(1).chr(0) and not 255 = '255'.
>
> Thanks,
> Jon
You mean like this:
http://www.php.net/base_convert
[Back to original message]
|