Hi !
I have an array:
array( 4 => 'apple', 7 => 'orange', 13 => 'plum' )
I would like to get first element of this array. Expected result: string apple
One requirement: it cannot be done with passing by reference, so array_shift is not good solution.
Any ideas ?