Answers for "php iterate array keys"

PHP
0

php iterate array keys

foreach ($arr as $key => $value) {
    echo "{$key} => {$value} ";
    print_r($arr);
}
Posted by: Guest on July-12-2021

Browse Popular Code Answers by Language