heroku-buildpack-php
heroku-buildpack-php copied to clipboard
Support for the PHP Decimal extension
PHP Decimal is an extension that implements a new arbitrary-precision decimal data type rather than relying on strings, allowing typehinting as well as being faster than both bcmath and GMP.
It would be great to have this supported on Heroku
Unfortunately, their latest PECL release is broken (it's an alpha, but it has a stable version name), so they'd have to fix that first: https://github.com/php-decimal/ext-decimal/issues/49
@dzuelke Hi David, is this something that can be addressed now or does the problem still persist in php-decimal/ext-decimal#49?
They closed the github issue in 2020 saying they would do a 2.0.1 release soon. But it is 2023 and they haven't done that release: https://pecl.php.net/package/decimal
But there has been a 1.4 release as well which appears to work on PHP 8.2 according to comments... can someone confirm this?