#40562 [Opn->Bgs]: pack/unpack still broken on 64bit

From: Date: Tue, 20 Feb 2007 16:26:52 +0000
Subject: #40562 [Opn->Bgs]: pack/unpack still broken on 64bit
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-109199@lists.php.net to get a copy of this message
ID: 40562 Updated by: tony2001@php.net Reported By: windeler at mediafinanz dot de -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux x86_64Bit PHP Version: 5.2.1 New Comment: Duplicate of bug #40543. Please search the database before creating new report. Previous Comments: ------------------------------------------------------------------------ [2007-02-20 16:20:27] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40562&edit=1

« previous php.bugs (#109199) next »