Big numbers in PHP

software development


Can someone recommend a way to work with huge numbers (just unsigned integers, in this case) in PHP that is DreamHost-friendly? BCMath seems to be what I’m looking for, but DreamHost’s PHP versions don’t have that compiled in. I see that the servers have the bc executable installed, so I suppose I could just pipe the numbers through to that, but obviously that’d be less than ideal.