php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40562 pack/unpack still broken on 64bit
Submitted: 2007-02-20 16:20 UTC Modified: 2007-02-20 16:47 UTC
From: windeler at mediafinanz dot de Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.1 OS: Linux x86_64Bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: windeler at mediafinanz dot de
New email:
PHP Version: OS:

 

 [2007-02-20 16:20 UTC] windeler at mediafinanz dot de
Description:
------------
This bug seems to be similar to Bug #38770. But this one still exists and Bug #38770 is fixed on my system.

Pack/Unpack still produces unexpected results on my 64bit platform.

Reproduce code:
---------------
print_r(unpack('N',pack('N',200)));

Expected result:
----------------
200

Actual result:
--------------
-2147483448

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-20 16:26 UTC] tony2001@php.net
Duplicate of bug #40543.
Please search the database before creating new report.
 [2007-02-20 16:39 UTC] windeler at mediafinanz dot de
sorry
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 13:00:01 2025 UTC