ID: 40777 Updated by: [EMAIL PROTECTED] Reported By: apachephp at gmailc dot om -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Centos 4.4 PHP Version: 5.2.1 New Comment:
Duplicate of bug #40749. Previous Comments: ------------------------------------------------------------------------ [2007-03-11 18:44:26] apachephp at gmailc dot om Description: ------------ unpack is wrong in 5.2.1 on my x86_64 box. in 5.2.0 it was OK. Reproduce code: --------------- <?php $v = pack("N", 4816); var_dump(unpack('N', $v)); ?> Expected result: ---------------- array(1) { [1]=> int(4816) } Actual result: -------------- array(1) { [1]=> int(-2147478832) } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40777&edit=1