|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-09-10 16:03 UTC] tony2001@php.net
[2006-09-10 16:31 UTC] fwmatt at dsl dot pipex dot com
[2006-11-19 18:21 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 07:00:01 2025 UTC |
Description: ------------ On my 32bit x86 system the attached code produces the expected results, however on my x86 64bit system it produces the (actual) attached. Reproduce code: --------------- print_r( unpack( "N", pack( 'N', -30000 ) )); Expected result: ---------------- Array ( [1] => -30000 ) Actual result: -------------- Array ( [1] => 4294937296 )