Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (8 sloc) 163 Bytes
<?PHP
$indexes = array();
$values = array(1,2,4,5,6,10,15);
while($x = array_pop($values)){
$indexes[count($values)] = $x;
}
print_r($indexes[6]);
?>