NYCPHP Meetup

NYPHP.org

[nycphp-talk] How common is bcmath?

Ron Guerin ron at vnetworx.net
Sat Dec 26 23:39:44 EST 2009


Daniel Convissor wrote:
> Hey Ron:
>
>   
>> I'm looking at using some code that uses the bcmath extension.  How
>> likely is it that a user is going to have hosting without bcmath in
>> their PHP?
>>     
>
> Crude survey via Google...
>
> phpinfo -bcmath = 4 million hits
> phpinfo +bcmath = 200 k hits
>   

Ouch!!   Too bad.  I'd taken "written in pure PHP" to mean something a
little different from "requires an extension your users are unlikely to
have."  I guess it's a good thing I looked at the code sooner rather
than later.

Thanks!

- Ron



More information about the talk mailing list