Maison >développement back-end >tutoriel php > 输出出现未定义变量提醒:Notice: Undefined variable: str in
输出出现未定义变量提示:Notice: Undefined variable: str in
function Call(){
for($i=0;$i
{
$str.= $i."
";
}
return $str;
}
echo Call();
输出进出现Notice: Undefined variable提示