<?php $arr = array( 'title' => 'java省流量', 'content' => 'java真好!测试下浏览器支不支持css' ); echo '<title>'.$arr['title'].'</title>'; echo $arr['content']; ?>