count() function can also be used to access certain elements in the array
<?php $employee []= "A"; $employee []= "B"; $employee []= "C"; $employee []= "D"; echo $employee [count ($employee)-1]; ?>