note 90957 deleted from function.in-array by danbrown

From: Date: Mon, 18 May 2009 16:32:20 +0000
Subject: note 90957 deleted from function.in-array by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155690@lists.php.net to get a copy of this message
Note Submitter: php at scrunch dot net ---- in_array() is really inefficient and slows over time (memory leak?). array_key_exists() does not suffer from the same problems, user it instead if you can.

« previous php.notes (#155690) next »