php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13403 array_unique() removes all but the non unique items
Submitted: 2001-09-23 03:35 UTC Modified: 2001-09-23 04:15 UTC
From: evilbobNCSU at yahoo dot com Assigned:
Status: Not a bug Package: Arrays related
PHP Version: 4.0.6 OS: Mac OS x
Private report: No CVE-ID: None
 [2001-09-23 03:35 UTC] evilbobNCSU at yahoo dot com
my php got upgraded to 4.0.6 wiht as OS upgrade, breaking 
the array_unique() so that it works exactly the opposite of 
how it should.

it removes all unique items leaving duplicated ones.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-23 03:36 UTC] evilbobNCSU at yahoo dot com
my php got upgraded to 4.0.6 wiht as OS upgrade, breaking 
the array_unique() so that it works exactly the opposite of 
how it should.

it removes all unique items leaving duplicated ones.

 [2001-09-23 03:38 UTC] evilbobNCSU at yahoo dot com
the topic is the opposite of what i meant to say (kinda 
like that array_unique() does now..heh)
 [2001-09-23 03:59 UTC] evilbobNCSU at yahoo dot com
the topic is the opposite of what i meant to say (kinda 
like that array_unique() does now..heh)
 [2001-09-23 04:03 UTC] evilbobNCSU at yahoo dot com
go ahead and marke this bogus. I am usinga multidimensional 
array.

however, the functionaly does appear to be changed from the 
earlier version. :-/
 [2001-09-23 04:15 UTC] mfischer@php.net
Set to bogus per user request.

- Markus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 20:01:30 2024 UTC