时间:2021-07-01 10:21:17 帮助过:5人阅读
$colors = array('red'=>'hongse', 'blue'=>'lanse', 'green'=>'lvse', 'yellow'=>'huangse');分享到:
foreach ($colors as $color) {
echo "Do you like $color['red']?\n";
?>
$colors = array('red'=>'hongse', 'blue'=>'lanse', 'green'=>'lvse', 'yellow'=>'huangse');
foreach ($colors as $color) {
echo "Do you like $color?\n";
}