note 111814 deleted from function.array-unique by cmb

From: Date: Sun, 27 Oct 2019 08:44:56 +0000
Subject: note 111814 deleted from function.array-unique by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212806@lists.php.net to get a copy of this message
Note Submitter: yosef_cool_ha at hotmail dot com ---- if you wish to unique the arrays recusively(multi dimensional) no matter how deep hope this function can help you: function array_unique_recusive($arr){ foreach($arr as $key=>$value) if(gettype($value)=='array') $arr[$key]=array_unique_recusive($value); return array_unique($arr,SORT_REGULAR); }

« previous php.notes (#212806) next »