array_unique() workaround?

From: Date: Wed, 14 Nov 2001 08:17:03 +0000
Subject: array_unique() workaround?
Groups: php.general 
Request: Send a blank email to php-general+get-74554@lists.php.net to get a copy of this message
I'm working on a script that needs array_unique() but my host is using 4.0.4 and it's broken in that build. Does anyone have a good workaround for this? I can wait for my host to upgrade but if I release this code, it would be better to have the workaround... I just need a good way to check for dups in an array and remove them. I can't get my brain around it... TIA Spunk

« previous php.general (#74554) next »