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

From: Date: Tue, 20 Feb 2007 16:39:46 +0000
Subject: #40562 [Bgs->Csd]: pack/unpack still broken on 64bit
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-109200@lists.php.net to get a copy of this message
ID: 40562 User updated by: windeler at mediafinanz dot de Reported By: windeler at mediafinanz dot de -Status: Bogus +Status: Closed Bug Type: Unknown/Other Function Operating System: Linux x86_64Bit PHP Version: 5.2.1 New Comment: sorry Previous Comments: ------------------------------------------------------------------------ [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 (#109200) next »