I initially like the concept (arbitrary precision operations). But please don't add another ini setting. Especially one where *logic* can change depending on the setting. I don't want a case where pow(2, 65)-1 will return different answers depending on the ini. That's just asking for problems.
Instead, perhaps a pythonic approach may be useful (storing as int/float for small values, but auto-converting to arbitrary precision if the int/float can't exactly represent what was requested/computed)... Just a thought to make it useful without the ini complexity or performance hits. Although this will present a significant BC break (internally, zend engine wise), so it would probably be limited to a major release anyway... Just a thought... Anthony On Tue, Mar 6, 2012 at 4:03 PM, Michael Morris <dmgx.mich...@gmail.com> wrote: > https://wiki.php.net/rfc/php_ini_bcmath_default > > This is the only other RFC I've been rummaging around in my head but > hadn't brought up. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php