SyntaxFix
Write A Post
Hire A Developer
Questions
You can do:
foreach ($arr as $key => $value) { echo $key; }
As described in PHP docs.