|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-12-02 07:37 UTC] remi@php.net
-Assigned To:
+Assigned To: remi
[2014-12-02 07:40 UTC] remi@php.net
-Summary: Pack is broken
+Summary: pack for 64bits integer is broken on bigendian
[2014-12-02 07:41 UTC] remi@php.net
[2014-12-02 07:41 UTC] remi@php.net
-Status: Assigned
+Status: Closed
[2014-12-05 07:00 UTC] ab@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ Pack doesn't produce correct output for 64bits integer Test script: --------------- php -r 'print_r(pack("Q", 0xfffffffffffe));' | hexdump -C Expected result: ---------------- 00000000 00 00 ff ff ff ff ff fe |........| 00000008 Actual result: -------------- 00000000 ff ff ff fe 00 00 00 00 |........| 00000008