ID: 50883 Updated by: paj...@php.net Reported By: virsacer at web dot de -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: win32 only - Windows 7 Pro x64 PHP Version: 5.3.1 New Comment:
That's expected, we use a 32bit for integer and unlike other platforms, it is portable (same type won't vary, in C). Previous Comments: ------------------------------------------------------------------------ [2010-01-29 21:03:53] virsacer at web dot de 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 this bug report at http://bugs.php.net/?id=50883&edit=1