Array - How do I access value at specified key, without using $array['key'] method?
- by codemonkey613
For example:
$fruits = array(
1 => 'apples',
2 => 'lemons',
3 => 'bananas'
);
Is there a function to output lemons, without using $fruits[2]?