Re: Zend engine bug
On Thu, 6 Sep 2001, Stanislav Malyshev wrote:
> GS>> echo (2147483649 & 2147483649);
> GS>>
> GS>> echo (2147483649 % 5);
>
> If you want numbers longer than long, you should use GMP anyway (or should
> know what you are doing). That unsigned hack, IIRC, was made with the
> single purpose of enabling working with IPs, etc.
>
Shouldn't it generate an error, then, if it is being misused? Something
like 'Invalid operands to binary operation' a-la gcc (since it is a
double).
Gavin
Thread (8 messages)