Re: LONG_MIN
| From: | Ard Biesheuvel | Date: | Sun, 16 May 2004 21:03:41 +0000 |
| Subject: | Re: LONG_MIN | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9884@lists.php.net to get a copy of this message | ||
Timm Friebe wrote:
Hello, are we off one here? $ php-dev -r 'var_dump(-2147483648);' float(-2147483648) $ php-dev -r 'var_dump(-2147483647 -1);' int(-2147483648)No, this is caused by the way the parser works. The unary minus is parsed separately from the number. I've reported this to Andi a while ago. -- Ard