Yannick Warnier 76a0eae5ea Add static resources and remove tests dir for beta release | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.. | ||
src | %!s(int64=5) %!d(string=hai) anos | |
tests | %!s(int64=5) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
LICENSE.md | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
composer.json | %!s(int64=5) %!d(string=hai) anos | |
phpunit.xml.dist | %!s(int64=5) %!d(string=hai) anos |
A polyfill for the bcmath
function, bccomp
.
I maintain a library that only uses bccomp
, and doesn't use the rest of bcmath
. I wanted to be able to work on it on machines that weren't compiled with bcmath
support, so I wrote this polyfill.
composer require yuloh/bccomp-polyfill
If the function bccomp
does not exist in the global namespace, this library will declare it's own bccomp
function.