Source Code:
(back to article)
<?php $map = array(); $map["key1"] = "value1"; $map["key2"] = "value2"; foreach($map as $key => $value){ echo $key . ' : ' . $value . PHP_EOL; }
Result:
Report an issue