note 74963 deleted from function.end by danbrown

From: Date: Wed, 15 Jun 2011 23:02:49 +0000
Subject: note 74963 deleted from function.end by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180581@lists.php.net to get a copy of this message
Note Submitter: egingell at sisna dot com ---- Posted by johnny at west dot net 03-Nov-2006 06:45 >> An easier way to get the last key: >> $lastkey = end(array_keys($arr)); As stated in a previous note, this may not function as expected (or at all) as end() takes the parameter by reference and you cannot pass a function call by reference.

« previous php.notes (#180581) next »