heroku-buildpack-php icon indicating copy to clipboard operation
heroku-buildpack-php copied to clipboard

Support for the PHP Decimal extension

Open marcroberts opened this issue 4 years ago • 4 comments

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

marcroberts avatar Sep 07 '20 20:09 marcroberts

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 avatar Sep 08 '20 22:09 dzuelke

@dzuelke Hi David, is this something that can be addressed now or does the problem still persist in php-decimal/ext-decimal#49?

jwage avatar Apr 20 '21 02:04 jwage

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

stof avatar Jan 30 '23 09:01 stof

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?

dzuelke avatar Mar 01 '23 01:03 dzuelke