|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-05-08 16:25 UTC] david at acz dot org
Description: ------------ The pack tests only run on 32 bit platforms. Bug #40543, which only affected 64 bit platforms, would have been caught by existing tests if they ran. This is the only 5.2.2 pack test that fails on 64 bit: print_r(unpack("I", pack("I", -4294967296))); 32 bit: -214748364 64 bit: 0 Several pack tests that fail on 5.2.1 pass on 5.2.2. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 16:00:02 2025 UTC |
$ head php-5.2.2/ext/standard/tests/strings/pack.phpt --TEST-- Generic pack()/unpack() tests --SKIPIF-- <?php if (PHP_INT_MAX > 2147483647) { die("skip 32bit test only"); } ?> --FILE-- <?php