gmp_and operation ???

Priti Solanki pritiatwork at gmail.com
Mon Feb 8 19:13:10 CET 2010


Thanks.

On Sat, Feb 6, 2010 at 2:43 AM, Pedro Gimeno <
gmpdiscuss at personal.formauri.es> wrote:

> Priti Solanki wrote:
> > Well i don't understand why you said it's non-gmp problem...!!  anywayz
>
> This is a PHP quirk, not even a problem. The PHP GMP module is taking
> numbers starting with 0 as octal, so the output is correct. This is
> unrelated to GMP and is related to how the GMP interface for PHP works.
>
> $ php -r 'echo gmp_strval("010");'
> 8
>
> If you need help with your task at hand, you should use a PHP-related
> list. Here people are unfamiliar with the PHP-GMP interface.
>


More information about the gmp-discuss mailing list