note 59296 rejected from function.array-filter by betz

From: Date: Fri, 02 Dec 2005 17:58:23 +0000
Subject: note 59296 rejected from function.array-filter by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-99470@lists.php.net to get a copy of this message
Note Submitter: ivo at dom dot de ---- if you want to filter by keys, use: array_flip(array_filter(array_flip($arr),"yourfilter")); but beware of duplicate values, wich will mess things up. maybe there is an easier/faster/better (or a more 'stylish') way to do?

« previous php.notes (#99470) next »