#47994 [NoF->Bgs]: array_unique, removing non uniques
| From: | jani@php.net | Date: | Thu, 30 Apr 2009 08:24:06 +0000 |
| Subject: | #47994 [NoF->Bgs]: array_unique, removing non uniques | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136540@lists.php.net to get a copy of this message | ||
ID: 47994
Updated by: jani@php.net
Reported By: bstrick at gmail dot com
-Status: No Feedback
+Status: Bogus
Bug Type: Arrays related
Operating System: Windows
PHP Version: 5.2.8
New Comment:
See above. :)
Previous Comments:
------------------------------------------------------------------------
[2009-04-25 01:00:00] 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-04-17 19:18:40] bstrick at gmail dot com
The bug was for version 5.2.8 I tested this in 5.2.9 and it has been
resolved. Sorry.
------------------------------------------------------------------------
[2009-04-17 11:09:55] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
I can not reproduce this with 32bit linux..
------------------------------------------------------------------------
[2009-04-16 20:53:00] bstrick at gmail dot com
Description:
------------
Numbers are considered the same if the first 15 or more digits are the
same.
Reproduce code:
---------------
<?
$test = array(3164843838577683662, 3164843838577682136);
echo count($test);
$test = array_unique($test);
echo count($test);
?>
Expected result:
----------------
22
Actual result:
--------------
21
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47994&edit=1