Correction status:qualified
Teacher's comments:循环中没有输出$key, 就不要写了:<li><?php echo $v></li>
<?php
$name = ['lei','zhu','kong'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<h2>名单</h2>
<ul>
<?php echo foreach ($name as $key =>$v):?>
<li><?php echo $v></li>
<?php endforeach;?>
</ul>
</body>
</html>