Bug #49246 [Com]: bug38770.phpt fails
| From: | men28u at yahoo dot com | Date: | Sat, 24 Jul 2010 11:42:52 +0000 |
| Subject: | Bug #49246 [Com]: bug38770.phpt fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152713@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=49246&edit=1
ID: 49246
Comment by: men28u at yahoo dot com
Reported by: atomo64 at gmail dot com
Summary: bug38770.phpt fails
Status: No Feedback
Type: Bug
Package: Strings related
Operating System: Linux i686
PHP Version: 5.2.10
New Comment:
There is no problem on 64bit Ubuntu 10.04 LTS - the Lucid Lynx.
make test TESTS=./ext/standard/tests/strings/bug38770.phpt
passes without any problem on php 5.2 version.
Previous Comments:
------------------------------------------------------------------------
[2009-08-21 01:00:02] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-08-13 18:56:39] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-08-13 17:38:41] atomo64 at gmail dot com
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=49246&edit=1