时间:2021-07-01 10:21:17 帮助过:59人阅读
$start = 66812;$end = 66818;for ($start;$start<=$end;$start++){ $s = sprintf('%07d', $start); echo $s . '
';}
0066812006681300668140066815006681600668170066818
$start = 66812;$end = 66818;for ($start;$start<=$end;$start++){ $s = sprintf('%07d', $start); echo $s . '
';}
0066812006681300668140066815006681600668170066818
有什么区别吗?
$start = '0066812';$end = '0066818'; for ($start;$start<=$end;$start++){ $s = sprintf('%07d', $start); echo $s . '0066812
';}
有什么区别吗?
$start = '0066812';$end = '0066818'; for ($start;$start<=$end;$start++){ $s = sprintf('%07d', $start); echo $s . '0066812
';}