php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11310 the algorithm in array_unique is dependent on different platform..
Submitted: 2001-06-06 10:18 UTC Modified: 2001-06-21 23:50 UTC
From: mario dot hadiwinata at wizoffice dot co dot id Assigned:
Status: Closed Package: Arrays related
PHP Version: 4.0.4 OS: Windows
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: mario dot hadiwinata at wizoffice dot co dot id
New email:
PHP Version: OS:

 

 [2001-06-06 10:18 UTC] mario dot hadiwinata at wizoffice dot co dot id
the algorithm in array_unique is dependent on different platform.. 
if u use this function in unix platform.. it won't sort the items within that array..
BUT.. when u use the same script in windows platform .. php will SORT it though it reduce duplicate items..

please make sure this bug is fixed in the next version.. i almost lost my job because this job.. :)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-06 13:07 UTC] sniper@php.net
And have you tried this with PHP 4.0.5 ?
And where is the short example script?

 [2001-06-21 23:50 UTC] sniper@php.net
No feedback, no example script.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 19:01:37 2025 UTC