I'm trying to write a byte in binary to a file.
I have the binary byte (8 bits) as a string, e.g. "01100101"
How do I write this as one byte in PHP? When I fopen with "wb" it still writes it in ASCII and puts 01100101 in a file. I might be confused how how the whole process works..