php iterate array keys

Solutions on MaxInterview for php iterate array keys by the best coders in the world

showing results for - "php iterate array keys"
Jacopo
24 Feb 2016
1foreach ($arr as $key => $value) {
2    echo "{$key} => {$value} ";
3    print_r($arr);
4}