php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67194 64-bit interger
Submitted: 2014-05-03 17:25 UTC Modified: 2014-05-05 16:34 UTC
From: dan at 1ntt dot com Assigned:
Status: Not a bug Package: *Programming Data Structures
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
16 + 21 = ?
Subscribe to this entry?

 
 [2014-05-03 17:25 UTC] dan at 1ntt dot com
Description:
------------
PHP for Windows still doesn't support 64-bit integers... I know, I know, it's been mentioned before, but we are now in 2014 (decades later) and the Windows team still haven't figured it out, time for some solid action...

Test script:
---------------
$access = 8589934592;

if( 8589934592 & access )
{
    echo "PHP Windows doesn't suck anymore!";
}
else
{
    echo "PHP Windows build is lame!";
}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-04 08:25 UTC] rasmus@php.net
-Status: Open +Status: Not a bug
 [2014-05-04 08:25 UTC] rasmus@php.net
Work is underway.
 [2014-05-04 08:27 UTC] pajoye@php.net
You can test this work in progress using:

http://windows.php.net/downloads/snaps/str_size_and_int64/

or from the git branch (same name)
 [2014-05-05 16:34 UTC] dan at 1ntt dot com
This is warming news indeed!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 06:01:29 2024 UTC