×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
1
Language: PHP
Posted by: Massimo Zappino
Added: Jan 29, 2011 11:02 PM
Views: 135
  1. <?php
  2. end($yourArray);
  3. $index = key($yourArray);