Get the last key name in associative array

how can I get the last key name in associative array?

osp: the last one of the array or alphabetical wise or so?
the last one $keys = array_keys($array); echo $keys[sizeof($keys)-1];
Trancer thanks

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Leave a Comment

You must be logged in to post a comment.


Blog Tags:

Similar posts: