Re: [PHP-DEV] Allow infinity integer length

2016-09-01 Thread Andrea Faulds
Hi Björn and David, As the author of that proposal, I'd say it's more of a “was”. It was a huge project and I gave up on it. It could be attempted again, but I don't expect PHP 8 to be appearing very soon (and this is a change that would have to be in a major version), and I'm not sure if ther

Re: [PHP-DEV] Allow infinity integer length

2016-08-29 Thread Björn Larsson
There was / is a proposal about bigints, see: https://wiki.php.net/rfc/bigint Regards //Björn Larsson Den 2016-08-29 kl. 15:48, skrev David Rodrigues: Currently PHP integer is limited to 2147483647 or 9223372036854775807 (PHP_INT_MAX), depending of system bits. We can works with long integers

[PHP-DEV] Allow infinity integer length

2016-08-29 Thread David Rodrigues
Currently PHP integer is limited to 2147483647 or 9223372036854775807 (PHP_INT_MAX), depending of system bits. We can works with long integers by using bcmath, for instance. But why not to support it natively? I mean, PHP can parse infinity integers, but it's converted to cientific notation or to