#50883 [NEW]: PHP x64 has only 32Bit integer
| From: | virsacer at web dot de | Date: | Fri, 29 Jan 2010 21:03:53 +0000 |
| Subject: | #50883 [NEW]: PHP x64 has only 32Bit integer | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-147053@lists.php.net to get a copy of this message | ||
From: virsacer at web dot de
Operating system: Windows 7 Pro x64
PHP version: 5.3.1
PHP Bug Type: *General Issues
Bug description: PHP x64 has only 32Bit integer
Description:
------------
I compiled PHP x64 from the Windows Sourcecode but the integer is only
32Bit.
Build Date => Jan 29 2010 13:32:28
Compiler => MSVC9 (Visual C++ 2008)
Architecture => x64
Configure Command => cscript /nologo configure.js
"--enable-snapshot-build"
Reproduce code:
---------------
php.exe -r "echo PHP_INT_MAX;"
Expected result:
----------------
Should be somthing like 9223372036854775807
Actual result:
--------------
2147483647
--
Edit bug report at http://bugs.php.net/?id=50883&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50883&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50883&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50883&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50883&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50883&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50883&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50883&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50883&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50883&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50883&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50883&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50883&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50883&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50883&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50883&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50883&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50883&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50883&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50883&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50883&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50883&r=mysqlcfg