note 101437 deleted from function.end by aharvey
| From: | aharvey@php.net | Date: | Fri, 20 Sep 2013 19:59:08 +0000 |
| Subject: | note 101437 deleted from function.end by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196331@lists.php.net to get a copy of this message | ||
Note Submitter: Tim C
----
An easy (and correct) way to get the last key:
$lastkey = array_pop(array_keys($arr));