|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-13 18:56 UTC] jani@php.net
[2009-08-21 01:00 UTC] php-bugs at lists dot php dot net
[2010-07-24 13:42 UTC] men28u at yahoo dot com
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 23:00:01 2025 UTC |
Description: ------------ ext/standard/tests/strings/bug38770.phpt fails on an i686 machine Reproduce code: --------------- <?php foreach (array('N','I','l') as $v) { print_r(unpack($v, pack($v, -30000))); } echo "Done\n"; ?> Expected result: ---------------- (as per the test) Array ( [1] => 4294937296 ) Array ( [1] => -30000 ) Array ( [1] => -30000 ) Done Actual result: -------------- Array ( [1] => -30000 ) Array ( [1] => -30000 ) Array ( [1] => -30000 ) Done