note 78608 added to function.array-unique

From: Date: Thu, 18 Oct 2007 21:21:10 +0000
Subject: note 78608 added to function.array-unique
Groups: php.notes 
Request: Send a blank email to php-notes+get-131519@lists.php.net to get a copy of this message
Check for duplicates in an array (as opposed to removing them): if (array_unique($array) != $array) { echo "Duplicate located in array."; } ---- Server IP: 69.147.83.197 Probable Submitter: 170.140.100.150 ---- Manual Page -- http://www.php.net/manual/en/function.array-unique.php Edit -- https://master.php.net/note/edit/78608 Del: integrated -- https://master.php.net/note/delete/78608/integrated Del: useless -- https://master.php.net/note/delete/78608/useless Del: bad code -- https://master.php.net/note/delete/78608/bad+code Del: spam -- https://master.php.net/note/delete/78608/spam Del: non-english -- https://master.php.net/note/delete/78608/non-english Del: in docs -- https://master.php.net/note/delete/78608/in+docs Del: other reasons-- https://master.php.net/note/delete/78608 Reject -- https://master.php.net/note/reject/78608 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131519) next »