<?php $i = 1; do { echo $i; $i = $i +1; } while ($i <= 8); ?> 转载于:https://www.cnblogs.com/tianpan2019/p/10999840.html