yuloh/bccomp-polyfill

This package is abandoned and no longer maintained. No replacement package was suggested.

Installs: 123 769

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 0

Forks: 0

Open Issues: 1

pkg:composer/yuloh/bccomp-polyfill

dev-master 2016-08-22 19:24 UTC

This package is auto-updated.

Last update: 2021-11-23 07:42:34 UTC


README

A polyfill for the bcmath function, bccomp.

Why?

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.

Install

composer require yuloh/bccomp-polyfill

Usage

If the function bccomp does not exist in the global namespace, this library will declare it's own bccomp function.