I need to get the value of the first and last keys of an array, I dont see a function that does this in the manual
//////////////////////example//////////////
$array( [0] => 24 [1] => 25 [2] => 34 [3] =>
[4] => 36 [5] => 37 [6] => 38 [7] => 39 [8] => 40 [9] => 41 [10] => 42 [11] => 43)
some_function($array);
$returns 24,43
I need a function that will return 24, 43. First and Last key of array
Thanks