#35701 [Opn->Bgs]: is_int(-2147483638) return false
| From: | johannes@php.net | Date: | Fri, 16 Dec 2005 09:22:25 +0000 |
| Subject: | #35701 [Opn->Bgs]: is_int(-2147483638) return false | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90523@lists.php.net to get a copy of this message | ||
ID: 35701
Updated by: johannes@php.net
Reported By: samuelkid at citiz dot net
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: redhat 7.3
PHP Version: 5.1.1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
"If you specify a number beyond the bounds of the integer
type, it will be interpreted as a float instead."
http://de3.php.net/manual/en/language.types.integer.php
Previous Comments:
------------------------------------------------------------------------
[2005-12-16 08:39:10] samuelkid at citiz dot net
Description:
------------
is_int(-2147483648) return false, but it should be true, right?
Reproduce code:
---------------
is_int(-2147483648)
Expected result:
----------------
true
Actual result:
--------------
false
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35701&edit=1