标签:
<?php
header("content-type:text/html;charset=utf8");
$fruit=array(‘apple‘=>"苹果",‘banana‘=>"香蕉",‘pineapple‘=>"菠萝");
foreach($fruit as $key=>$value){
echo ‘<br>键是:‘.$key.‘,对应的值是:‘.$value;
}
?>
标签:
原文地址:http://www.cnblogs.com/lidepeng/p/5931701.html