You know binary? - Blog - Open Source - schlitt.info

schlitt.info - php, photography and private stuff

You know binary?

01010100011010000110010101110010011001010010000001100001011100100 11001010010000000110001001100000010000001110100011110010111000001 10010101110011001000000110111101100110001000000111000001100101011 01111011100000110110001100101001011100010000001010100011010000110 11110111001101100101001000000111011101101000011011110010000001101 01101101110011011110111011100100000011000100110100101101110011000 01011100100111100100100000011000010110111001100100001000000111010 00110100001101111011100110110010100100000011101110110100001101111 00100000011001000110111101101110001001110111010000101110

Don't know, what's that about?

Try:

$bin = "01010100..."; $bin = explode(" ", chunk_split($bin, 8, " ")); foreach ($bin as $num) { $num = chr(bindec($num)); }

If you liked this blog post or learned something, please consider using flattr to contribute back: .

Trackbacks

Comments

Add new comment

Fields with bold names are mandatory.