note 102857 deleted from function.end by danbrown

From: Date: Thu, 10 Mar 2011 15:17:29 +0000
Subject: note 102857 deleted from function.end by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177746@lists.php.net to get a copy of this message
Note Submitter: FokeyJoe ---- To correct Tim C's post, where if used in a loop the erroneous exponential processing could unnecessarily warm the planet! The more correct efficient way to get the index of a newly added item is to do: end($a); $key = key($a);

« previous php.notes (#177746) next »