Here is my code
$key) { $i >0; echo $i.\' \'.$key .
programmers always count from 0, it's good practice, but if you really need to do this simply declare the $i variable as 1 before the fooreach loop