Reffering to end of array

Hey,
just a quick question…
is there a better way to reffer to the end of an array than this:


$ar = Array("bla", "blabla");
$ar[count($ar)-1] = $something;