#40543 [Opn->Bgs]: pack/unpack bug
| From: | iliaa@php.net | Date: | Sat, 24 Feb 2007 15:12:29 +0000 |
| Subject: | #40543 [Opn->Bgs]: pack/unpack bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109468@lists.php.net to get a copy of this message | ||
ID: 40543
Updated by: iliaa@php.net
Reported By: dedmajor at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: linux x86_64
PHP Version: 5.2.1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
You should be using either L or V, not N.
Previous Comments:
------------------------------------------------------------------------
[2007-02-19 13:34:38] dedmajor at gmail dot com
Description:
------------
#38770 not fixed(?) in 5.2.1-dev
on x86_64 AMD Opteron(tm) Processor 265 unpack don't work, on i686
Intel(R) Celeron(R) CPU 2.50GHz works fine for example.
Reproduce code:
---------------
php -r 'print_r(unpack("N", pack("N", 41445)));
Expected result:
----------------
Array
(
[1] => 41445
)
Actual result:
--------------
Array
(
[1] => -2147442203
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40543&edit=1