将echo '<br>数组第'.$index.'值是:'.$fruit[$index];换成echo '<br>数组第'.$index.'值是:'.$fruit[‘$index’];为什么不可以
$index是变量,不用加单引号
双引号,解析变量