|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-03-12 09:20 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 18:00:01 2025 UTC |
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) }