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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to