Gents;
Given two string representations of binary numbers is there any way to add them in php?
Example:
$_bin1 = "000101000101";
$_bin1 = "000000010001";
print "$_bin1 + $_bin2";
I've been researching and working on this for most of two days and cannot come up with anything concrete.
And NO, this is not homework. It's a real problem!
Thanks for any suggestions and I apologize if I missed any function that I should have caught.
B
Given two string representations of binary numbers is there any way to add them in php?
Example:
$_bin1 = "000101000101";
$_bin1 = "000000010001";
print "$_bin1 + $_bin2";
I've been researching and working on this for most of two days and cannot come up with anything concrete.
And NO, this is not homework. It's a real problem!
Thanks for any suggestions and I apologize if I missed any function that I should have caught.
B