Edit report at https://bugs.php.net/bug.php?id=64863&edit=1

 ID:                 64863
 Updated by:         vr...@php.net
 Reported by:        vr...@php.net
 Summary:            PHP_INT_SIZE is 4 instead of 8 on 64bit Windows
                     build
 Status:             Open
 Type:               Bug
 Package:            *Compile Issues
 Operating System:   Windows 64bit
 PHP Version:        5.5.0RC1
-Assigned To:        
+Assigned To:        szarkos
 Block user comment: N
 Private report:     N

 New Comment:

Steve, can you please take a look?


Previous Comments:
------------------------------------------------------------------------
[2013-05-16 18:20:01] vr...@php.net

Description:
------------
I want to work with DB bigint data type without troubles, I want to call 
mysql_insert_id() safely.

Also some problems in Google Code Jam require 8 bytes int and it's very hard to 
solve them with 4 bytes int because BC is too slow.

I know that this might be by design but it is a bad design. Especially given 
that Linux 64 bits builds have 8 bytes int.

Also the main advantage of 64 bits is to be able to use these 64 bits.


Test script:
---------------
<?php
echo PHP_INT_SIZE; // with php-5.5.0RC1-Win32-VC11-x64.zip


Expected result:
----------------
8

Actual result:
--------------
4


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64863&edit=1

Reply via email to