PHP
If efficiency is not that important can use array_keys($yourArray)[0] in PHP 5.4 (and higher).
$arr = array('a'=>1, 'b'=>2, ....) $keys = array_keys($arr); echo $keys[0];
Output: a
By Keenlio, August 7, 2014
Your email address will not be published. Required fields are marked *
Name *
Email *
Give an anwser * nine − = 6
Comment
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Gas Detector Specialist Indonesia Cosmetic Online Malaysia Cosmetic Online
What do you think?