I have an array like this in php
Array ( [0] => Array ( [month] => April-2014 [total_booking] => 2 ) [1] => Array ( [month] => May-2014 [total_booking] => 5 ) [2] => Array ( [month] => June-2014 [total_booking] => 25 ) [3] => Array ( [month] => October-2013 [total_booking] => 1 ) [4] => Array ( [month] => July-2014 [total_booking] => 4 ) ) i want to get the first month value and final value from this array. i am using foreach() for doing this .without using for each is there any good option?