note 85192 deleted from function.array-unique by danbrown

From: Date: Thu, 06 Nov 2008 14:51:04 +0000
Subject: note 85192 deleted from function.array-unique by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-146215@lists.php.net to get a copy of this message
Note Submitter: soapergem at gmail dot com ---- Quick revision to my last comment: I forgot to add the "break;" statement inside the most-nested if-block (immediately after "$duplicates[$key] = $v;" and before the "}"). While not necessary, it speeds things up significantly.

« previous php.notes (#146215) next »