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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: evilbobNCSU at yahoo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Nov 23 15:01:29 2024 UTC