Heheh yes, but that doesn't leave the index keys as they were.
This seems the exact solution;
function my_pop(&$array)
{
$array = array_reverse($array);
reset($array);
$last = each($array);
unset($array[$last["key"]]);
$array = array_reverse($array);
return
But I don't get how to use it 😉