How to get the first element of an array in PHP?
Query explained: I have an array: array( 4 => ‘apple’, 7 => ‘orange’, 13 => ‘plum’ ) I would like to get the first element of this array. Expected result: string apple …
How to get the first element of an array in PHP? Learn More