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

From: Date: Tue, 20 Feb 2007 16:47:21 +0000
Subject: #40562 [Csd->Bgs]: pack/unpack still broken on 64bit
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-109201@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: Closed +Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux x86_64Bit PHP Version: 5.2.1 Previous Comments: ------------------------------------------------------------------------ [2007-02-20 16:39:46] windeler at mediafinanz dot de sorry ------------------------------------------------------------------------ [2007-02-20 16:26:51] tony2001@php.net Duplicate of bug #40543. Please search the database before creating new report. ------------------------------------------------------------------------ [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 (#109201) next »