Bug #75026 [Opn->Dup]: Can not use -9223372036854775808 value on 64bit systems
| From: | nikic@php.net | Date: | Wed, 02 Aug 2017 17:05:37 +0000 |
| Subject: | Bug #75026 [Opn->Dup]: Can not use -9223372036854775808 value on 64bit systems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210459@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75026&edit=1
ID: 75026
Updated by: nikic@php.net
Reported by: rwillmann at crooce dot com
Summary: Can not use -9223372036854775808 value on 64bit
systems
-Status: Open
+Status: Duplicate
Type: Bug
Package: Scripting Engine problem
Operating System: Windows
PHP Version: 7.1.7
Block user comment: N
Private report: N
New Comment:
Duplicate of bug #53934.
Previous Comments:
------------------------------------------------------------------------
[2017-08-02 16:59:00] rwillmann at crooce dot com
Description:
------------
Can not use -9223372036854775808 value on 64bit systems.
Test script:
---------------
print PHP_INT_MIN . "\n";
var_dump(is_int(PHP_INT_MIN));
var_dump(is_int(-9223372036854775808));
Expected result:
----------------
-9223372036854775808
bool(true)
bool(true)
Actual result:
--------------
-9223372036854775808
bool(true)
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75026&edit=1