Array in key/value pairs



examples/intro/array_pairs.php
<?php
$a = array('two' => 2, 'one' => 1, 'three' => 3);
foreach ($a as $key => $value) {
   print "$key   $value\n";
}
?>