I have the following problem, is it possible to convert a string to a binary in PHP?
The problem is that I don´t really mean conversion as such, what I mean is for example:
String = 101010
convert this variable to binary 0b101010
The user inputs the string in a form, which is sent to the script via GET. And I need to create a binary which looks "exactly like this", not conversion of the actual string to binary value.