源代码:
"35","Ben"=>"37","Joe"=>"43"); ksort($age); foreach($age as $x=>$x_value) { echo "Key=" . $x . ", Value=" . $x_value; echo " "; } ?>
运行结果: